< Summary

Class:WinSolutions.Sveta.Server.Data.DataModel.Entities.Address
Assembly:WinSolutions.Sveta.Server
File(s):/opt/dev/sveta_api_build/WinSolutions.Sveta.Server/Data/DataModel/Entities/Address.cs
Covered lines:11
Uncovered lines:1
Coverable lines:12
Total lines:62
Line coverage:91.6% (11 of 12)
Covered branches:0
Total branches:0

Metrics

MethodLine coverage Branch coverage
get_FullAddress()100%100%
get_Region()100%100%
get_Index()100%100%
get_District()100%100%
get_City()100%100%
get_Locality()100%100%
get_Street()100%100%
get_House()100%100%
get_Housing()100%100%
get_Building()100%100%
get_Office()100%100%
get_ExternalKey()0%100%

File(s)

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

#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3using System.Text;
 4using System.ComponentModel.DataAnnotations;
 5using System.ComponentModel.DataAnnotations.Schema;
 6
 7namespace WinSolutions.Sveta.Server.Data.DataModel.Entities
 8{
 9    public class Address : ExternalRecord, ITrackableRecord
 10    {
 11        /// <summary>
 12        /// Полный адрес
 13        /// </summary>
 159514        public string FullAddress { get; set; }
 15        /// <summary>
 16        /// Регион
 17        /// </summary>
 19018        public string Region { get; set; }
 19        /// <summary>
 20        /// Индекс
 21        /// </summary>
 19022        public string Index { get; set; }
 23        /// <summary>
 24        /// Район
 25        /// </summary>
 19026        public string District { get; set; }
 27        /// <summary>
 28        /// Город
 29        /// </summary>
 19030        public string City { get; set; }
 31        /// <summary>
 32        /// Насленный пункт
 33        /// </summary>
 19034        public string Locality { get; set; }
 35        /// <summary>
 36        /// Улица
 37        /// </summary>
 19038        public string Street { get; set; }
 39        /// <summary>
 40        /// Дом
 41        /// </summary>
 19042        public string House { get; set; }
 43        /// <summary>
 44        /// Корпус
 45        /// </summary>
 19046        public string Housing { get; set; }
 47        /// <summary>
 48        /// Строение
 49        /// </summary>
 19050        public string Building { get; set; }
 51        /// <summary>
 52        /// Оффис
 53        /// </summary>
 19054        public string Office { get; set; }
 55        /// <summary>
 56        /// Внешний ключ для CRM
 57        /// </summary>
 58        // [Required(AllowEmptyStrings = true)]
 59        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
 060        public Guid ExternalKey { get; set; }
 61    }
 62}