< Summary

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

Metrics

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

File(s)

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

#LineLine coverage
 1using System.ComponentModel.DataAnnotations;
 2using System.ComponentModel.DataAnnotations.Schema;
 3
 4namespace WinSolutions.Sveta.Server.Data.DataModel.Entities
 5{
 6    [Table("refCountries")]
 7    public class Country : ExternalRecord, ITrackableRecord
 8    {
 9        /// <summary>
 10        /// ISO код
 11        /// </summary>
 4769012        public int Code { get; set; }
 13
 14        /// <summary>
 15        /// Наименование
 16        /// </summary>
 17        [Required]
 4770018        public string Name { get; set; }
 19    }
 20}

Methods/Properties

get_Code()
get_Name()