| | | 1 | | using System; |
| | | 2 | | using System.Collections.Generic; |
| | | 3 | | using System.ComponentModel.DataAnnotations; |
| | | 4 | | using System.Text; |
| | | 5 | | |
| | | 6 | | namespace WinSolutions.Sveta.Server.Data.DataModel.Entities |
| | | 7 | | { |
| | | 8 | | public class PriceTrend : ExternalRecord, ITrackableRecord |
| | | 9 | | { |
| | | 10 | | /// <summary> |
| | | 11 | | /// Номер документа |
| | | 12 | | /// </summary> |
| | | 13 | | [Required] |
| | 0 | 14 | | public string DocNumber { get; set; } |
| | | 15 | | |
| | | 16 | | /// <summary> |
| | | 17 | | /// Подразделение поставщика |
| | | 18 | | /// </summary> |
| | | 19 | | [Required] |
| | 368 | 20 | | public Department SupplierDepartment { get; set; } |
| | | 21 | | |
| | 0 | 22 | | public long SupplierDepartmentId { get; set; } |
| | | 23 | | |
| | | 24 | | /// <summary> |
| | | 25 | | /// Дата начала действия |
| | | 26 | | /// </summary> |
| | | 27 | | [Required] |
| | 1546 | 28 | | public DateTime BeginDate { get; set; } |
| | | 29 | | |
| | | 30 | | /// <summary> |
| | | 31 | | /// Дата окончания действия |
| | | 32 | | /// </summary> |
| | | 33 | | [Required] |
| | 0 | 34 | | public DateTime EndDate { get; set; } = new DateTime(2099, 1, 1); |
| | | 35 | | |
| | | 36 | | /// <summary> |
| | | 37 | | /// Детали переоценки |
| | | 38 | | /// </summary> |
| | | 39 | | [Required] |
| | 0 | 40 | | public List<PriceTrendDetail> PriceTrendDetails { get; set; } |
| | | 41 | | } |
| | | 42 | | } |