< Summary

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

Metrics

MethodLine coverage Branch coverage
get_Good()0%100%
get_Price()0%100%

File(s)

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

#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3using System.ComponentModel.DataAnnotations;
 4using System.ComponentModel.DataAnnotations.Schema;
 5using System.Text;
 6using WinSolutions.Sveta.Server.Data.DataModel.Kinds;
 7
 8namespace WinSolutions.Sveta.Server.Data.DataModel.Entities
 9{
 10    public class Promo : ExternalRecord
 11    {
 12        /// <summary>
 13        /// Товар
 14        /// </summary>
 15        [Required]
 016        public Good Good { get; set; }
 17
 18        /// <summary>
 19        /// Цена
 20        /// </summary>
 21        [Required]
 22        [Column(TypeName = "decimal(18,2)")]
 023        public decimal Price { get; set; }
 24
 25        /// <summary>
 26        /// Цена
 27        /// </summary>
 28       /* [Required]
 29        public ProgressStatus Status { get; set; }
 30
 31        /// <summary>
 32        /// Цена
 33        /// </summary>
 34        public ProgressesStatus ProgressesStatus { get; set; }*/
 35
 36    }
 37}

Methods/Properties

get_Good()
get_Price()