< Summary

Class:SVETA.Api.Data.DTO.GoodDTO
Assembly:SVETA.Api
File(s):/opt/dev/sveta_api_build/SVETA.Api/Data/DTO/Goods/GoodDTO.cs
Covered lines:0
Uncovered lines:33
Coverable lines:33
Total lines:91
Line coverage:0% (0 of 33)
Covered branches:0
Total branches:0

Metrics

MethodLine coverage Branch coverage
get_Id()0%100%
get_CategoryId()0%100%
get_Category()0%100%
get_MainBarcode()0%100%
get_Barcodes()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_VatId()0%100%
get_VatKind()0%100%
get_CustomDeclarationNumber()0%100%
get_UnitKindId()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_BrandId()0%100%
get_Brand()0%100%
get_SubBrandId()0%100%
get_SubBrand()0%100%
get_CountryId()0%100%
get_Country()0%100%
get_IsActive()0%100%
get_UniqueCode()0%100%

File(s)

/opt/dev/sveta_api_build/SVETA.Api/Data/DTO/Goods/GoodDTO.cs

#LineLine coverage
 1using System.Collections.Generic;
 2using System.ComponentModel.DataAnnotations;
 3using System.Linq;
 4using System.Threading.Tasks;
 5using WinSolutions.Sveta.Server.Data.DataModel.Kinds;
 6
 7namespace SVETA.Api.Data.DTO
 8{
 9    public class GoodDTO
 10    {
 011        public long Id { get; set; }
 12
 13        [Required]
 014        public long CategoryId { get; set; }
 15
 016        public IdNameDTO Category { get; set; }
 17
 18        [Required]
 019        public BarCodeDTO MainBarcode { get; set; }
 20
 021        public List<BarCodeDTO> Barcodes { get; set; }
 22
 023        public string Name { get; set; }
 24
 025        public string VendorCode { get; set; }
 26
 027        public List<PhotoDTO> Photos { get; set; }
 28
 29        [Required]
 030        public decimal MinDeliveryLot { get; set; }
 31
 32        [Required]
 033        public int ExpirationDays { get; set; }
 34
 35        [Required]
 036        public decimal Weight { get; set; }
 37
 38        [Required]
 039        public decimal Width { get; set; }
 40
 41        [Required]
 042        public decimal Height { get; set; }
 43
 44        [Required]
 045        public decimal Thickness { get; set; }
 46
 47        [Required]
 048        public int VatId { get; set; }
 49
 050        public EnumDB_DTO VatKind { get; set; }
 51
 052        public string CustomDeclarationNumber { get; set; }
 53
 54        [Required]
 055        public int UnitKindId { get; set; }
 56
 057        public EnumDB_DTO UnitKind { get; set; }
 58
 059        public string ConformityCertNumber { get; set; }
 60
 61        [Required]
 062        public decimal GroupPackNesting { get; set; }
 63
 64        [Required]
 065        public decimal GroupPackWidth { get; set; }
 66
 67        [Required]
 068        public decimal GroupPackHeight { get; set; }
 69
 70        [Required]
 071        public decimal GroupPackThickness { get; set; }
 72
 73        [Required]
 074        public int PalletNesting { get; set; }
 75
 076        public long BrandId { get; set; }
 77
 078        public IdNameDTO Brand { get; set; }
 79
 080        public long SubBrandId { get; set; }
 81
 082        public IdNameDTO SubBrand { get; set; }
 83
 084        public long CountryId { get; set; }
 085        public IdNameDTO Country { get; set; }
 86
 087        public bool IsActive { get; set; }
 88
 089        public string UniqueCode { get; set; }
 90    }
 91}