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