< Summary

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

Metrics

MethodLine coverage Branch coverage
get_Name()100%100%
get_Code()100%100%
get_Description()100%100%

File(s)

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

#LineLine coverage
 1using System;
 2using System.ComponentModel.DataAnnotations;
 3using System.ComponentModel.DataAnnotations.Schema;
 4using WinSolutions.Sveta.Server.Data.DataModel.Kinds;
 5using CrmVtbc.Integration;
 6
 7namespace WinSolutions.Sveta.Server.Data.DataModel.Entities
 8{
 9    public class EnumRecord : ExternalRecord
 10    {
 11
 12        /// <summary>
 13        /// Название
 14        /// </summary>
 15        [CrmMap("Name"), CrmOnlyLoad]
 16        [Required]
 3184817        public string Name { get; set; }
 18
 19
 20        /// <summary>
 21        /// Код
 22        /// </summary>
 23        [Required]
 5421024        public string Code { get; set; } = "";
 25
 26        /// <summary>
 27        /// Описание
 28        /// </summary>
 3030429        public string Description { get; set; }
 30    }
 31}