< Summary

Class:WinSolutions.Sveta.Server.Data.DataModel.Entities.Rest
Assembly:WinSolutions.Sveta.Server
File(s):/opt/dev/sveta_api_build/WinSolutions.Sveta.Server/Data/DataModel/Entities/Rest.cs
Covered lines:3
Uncovered lines:2
Coverable lines:5
Total lines:32
Line coverage:60% (3 of 5)
Covered branches:0
Total branches:0

Metrics

MethodLine coverage Branch coverage
get_Good()100%100%
get_GoodId()0%100%
get_Department()100%100%
get_DepartmentId()0%100%
get_Quantity()100%100%

File(s)

/opt/dev/sveta_api_build/WinSolutions.Sveta.Server/Data/DataModel/Entities/Rest.cs

#LineLine coverage
 1using System.ComponentModel.DataAnnotations;
 2
 3namespace WinSolutions.Sveta.Server.Data.DataModel.Entities
 4{
 5    /// <summary>
 6    /// Справочник остатков
 7    /// </summary>
 8    public class Rest : ExternalRecord, ITrackableRecord
 9    {
 10        /// <summary>
 11        ///Товар
 12        /// </summary>
 13        [Required]
 113314        public Good Good { get; set; }
 15
 016        public long GoodId { get; set; }
 17
 18        /// <summary>
 19        ///Подразделение дистрибьютора
 20        /// </summary>
 21        [Required]
 110422        public Department Department { get; set; }
 23
 024        public long DepartmentId { get; set; }
 25
 26        /// <summary>
 27        ///Остаток
 28        /// </summary>
 29        [Required]
 52230        public decimal Quantity { get; set; }
 31    }
 32}