< Summary

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

Metrics

MethodLine coverage Branch coverage
get_PromoOffer()0%100%
get_CustomerDepartment()0%100%
get_Quantity()0%100%
get_Sum()0%100%
get_CreationDate()0%100%
get_DateEnd()0%100%

File(s)

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

#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3using System.ComponentModel.DataAnnotations;
 4using System.ComponentModel.DataAnnotations.Schema;
 5using System.Text;
 6
 7namespace WinSolutions.Sveta.Server.Data.DataModel.Entities
 8{
 9    public class PromoBid : Promo
 10    {
 11        /// <summary>
 12        /// Промо предложение
 13        /// </summary>
 14        [Required]
 015        public PromoOffer PromoOffer { get; set; }
 16
 17        /// <summary>
 18        /// Подразделение заказчика
 19        /// </summary>
 20        [Required]
 021        public Department CustomerDepartment { get; set; }
 22
 23
 24        /// <summary>
 25        /// Количество заявки
 26        /// </summary>
 27        [Required]
 28        [Column(TypeName = "decimal(18,2)")]
 029        public decimal Quantity { get; set; }
 30
 31        /// <summary>
 32        /// Сумма заявки
 33        /// </summary>
 34        [Required]
 35        [Column(TypeName = "decimal(18,2)")]
 036        public decimal Sum { get; set; }
 37
 38        /// <summary>
 39        /// Дата создания заявки
 40        /// </summary>
 41        [Required]
 042        public DateTime CreationDate { get; set; }
 43
 44        /// <summary>
 45        /// Дата окончания действия заявки
 46        /// </summary>
 47        [Required]
 048        public DateTime DateEnd { get; set; }
 49
 50    }
 51}