< Summary

Class:SVETA.Api.Data.DTO.Showcase.ShowcaseGoodDTO
Assembly:SVETA.Api
File(s):/opt/dev/sveta_api_build/SVETA.Api/Data/DTO/Showcase/ShowcaseGoodDTO.cs
Covered lines:0
Uncovered lines:36
Coverable lines:36
Total lines:86
Line coverage:0% (0 of 36)
Covered branches:0
Total branches:4
Branch coverage:0% (0 of 4)

Metrics

MethodLine coverage Branch coverage
get_Id()0%100%
get_Category()0%100%
get_MainBarcode()0%100%
get_Barcodes()0%100%
get_Labels()0%100%
get_Name()0%100%
get_VendorCode()0%100%
get_Photos()0%100%
get_MinDeliveryLot()0%100%
get_ExpirationDays()0%100%
get_Weight()0%100%
get_Width()0%100%
get_Height()0%100%
get_Thickness()0%100%
get_VatKind()0%100%
get_CustomDeclarationNumber()0%100%
get_UnitKind()0%100%
get_ConformityCertNumber()0%100%
get_GroupPackNesting()0%100%
get_GroupPackWidth()0%100%
get_GroupPackHeight()0%100%
get_GroupPackThickness()0%100%
get_PalletNesting()0%100%
get_Brand()0%100%
get_SubBrand()0%100%
get_Country()0%100%
get_RestQuantity()0%100%
get_MinQuantity()0%0%
get_PickingQuantum()0%0%
get_Price()0%100%
get_OldPrice()0%100%
get_Discount()0%100%
get_LabelColor()0%100%
get_TextColor()0%100%
get_UniqueCode()0%100%
get_Transparency()0%100%

File(s)

/opt/dev/sveta_api_build/SVETA.Api/Data/DTO/Showcase/ShowcaseGoodDTO.cs

#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3using System.Linq;
 4using System.Threading.Tasks;
 5
 6namespace SVETA.Api.Data.DTO.Showcase
 7{
 8    public class ShowcaseGoodDTO
 9    {
 010        public long Id { get; set; }
 11
 012        public CategoryForFeedDTO Category { get; set; }
 13
 014        public BarCodeDTO MainBarcode { get; set; }
 15
 016        public List<BarCodeDTO> Barcodes { get; set; }
 17
 018        public List<ShowcaseGoodLabelDTO> Labels { get; set; }
 19
 020        public string Name { get; set; }
 21
 022        public string VendorCode { get; set; }
 23
 024        public List<PhotoDTO> Photos { get; set; }
 25
 026        public decimal MinDeliveryLot { get; set; }
 27
 028        public int ExpirationDays { get; set; }
 29
 030        public decimal Weight { get; set; }
 31
 032        public decimal Width { get; set; }
 33
 034        public decimal Height { get; set; }
 35
 036        public decimal Thickness { get; set; }
 37
 038        public EnumDB_DTO VatKind { get; set; }
 39
 040        public string CustomDeclarationNumber { get; set; }
 41
 042        public EnumDB_DTO UnitKind { get; set; }
 43
 044        public string ConformityCertNumber { get; set; }
 45
 046        public int GroupPackNesting { get; set; }
 47
 048        public decimal GroupPackWidth { get; set; }
 49
 050        public decimal GroupPackHeight { get; set; }
 51
 052        public decimal GroupPackThickness { get; set; }
 53
 054        public int PalletNesting { get; set; }
 55
 056        public IdNameDTO Brand { get; set; }
 57
 058        public IdNameDTO SubBrand { get; set; }
 59
 060        public IdNameDTO Country { get; set; }
 61
 062        public decimal RestQuantity { get; set; }
 63
 64        decimal minQuantity;
 65
 066        public decimal MinQuantity { get => minQuantity > 0 ? minQuantity : 1; set => minQuantity = value; }
 67
 68        decimal pickingQuantum;
 69
 070        public decimal PickingQuantum { get => pickingQuantum > 0 ? pickingQuantum : 1; set => pickingQuantum = value; }
 71
 072        public decimal Price { get; set; }
 73
 074        public decimal? OldPrice { get; set; }
 75
 076        public int? Discount { get; set; }
 77
 078        public string LabelColor { get; set; }
 79
 080        public string TextColor { get; set; }
 81
 082        public string UniqueCode { get; set; }
 83
 084        public decimal Transparency { get; set; }
 85    }
 86}