< Summary

Information
Class: Services.ApiServices.StudioApi.Models.Response.Supplier
Assembly: Services
File(s): /home/runner/work/Studio2Prod/Studio2Prod/AppRepository/ApiServices/StudioApi/Models/Response/Supplier.cs
Line coverage
5%
Covered lines: 1
Uncovered lines: 17
Coverable lines: 18
Total lines: 25
Line coverage: 5.5%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_Id()100%210%
get_Name()100%11100%
get_Address()100%210%
get_Www()100%210%
get_UseSurchGrp()100%210%
get_ExtId()100%210%
get_External()100%210%
get_Competitor()100%210%
get_PriceVariation()100%210%
get_ProfitMargin()100%210%
get_Flags()100%210%
get_Hidden()100%210%
get_IconType()100%210%
get_Allowance()100%210%
get_DenyRevaluation()100%210%
get_LogPrices()100%210%
get_Inn()100%210%
get_Kpp()100%210%

File(s)

/home/runner/work/Studio2Prod/Studio2Prod/AppRepository/ApiServices/StudioApi/Models/Response/Supplier.cs

#LineLine coverage
 1using Newtonsoft.Json;
 2
 3namespace Services.ApiServices.StudioApi.Models.Response;
 4
 5public class Supplier
 6{
 07    [JsonProperty("Id")] public int Id { get; set; }
 158    [JsonProperty("Name")] public string? Name { get; set; }
 09    [JsonProperty("Address")] public string? Address { get; set; }
 010    [JsonProperty("Www")] public string? Www { get; set; }
 011    [JsonProperty("UseSurchGrp")] public bool UseSurchGrp { get; set; }
 012    [JsonProperty("ExtId")] public string? ExtId { get; set; }
 013    [JsonProperty("External")] public bool External { get; set; }
 014    [JsonProperty("Competitor")] public int Competitor { get; set; }
 015    [JsonProperty("PriceVariation")] public decimal PriceVariation { get; set; }
 016    [JsonProperty("ProfitMargin")] public decimal ProfitMargin { get; set; }
 017    [JsonProperty("Flags")] public int Flags { get; set; }
 018    [JsonProperty("Hidden")] public bool Hidden { get; set; }
 019    [JsonProperty("IconType")] public int IconType { get; set; }
 020    [JsonProperty("Allowance")] public bool Allowance { get; set; }
 021    [JsonProperty("DenyRevaluation")] public bool DenyRevaluation { get; set; }
 022    [JsonProperty("LogPrices")] public bool LogPrices { get; set; }
 023    [JsonProperty("Inn")] public string? Inn { get; set; }
 024    [JsonProperty("Kpp")] public string? Kpp { get; set; }
 25}