| | | 1 | | using System; |
| | | 2 | | using System.Collections.Generic; |
| | | 3 | | using System.ComponentModel.DataAnnotations; |
| | | 4 | | using System.ComponentModel.DataAnnotations.Schema; |
| | | 5 | | using System.Text; |
| | | 6 | | |
| | | 7 | | namespace WinSolutions.Sveta.Server.Data.DataModel.Entities |
| | | 8 | | { |
| | | 9 | | public class PriceTrendDetail: ExternalRecord, ITrackableRecord |
| | | 10 | | { |
| | | 11 | | /// <summary> |
| | | 12 | | /// Журнал переоценки |
| | | 13 | | /// </summary> |
| | | 14 | | [Required] |
| | 3147 | 15 | | public PriceTrend PriceTrend { get; set; } |
| | 0 | 16 | | public long PriceTrendId { get; set; } |
| | | 17 | | /// <summary> |
| | | 18 | | /// Товар |
| | | 19 | | /// </summary> |
| | | 20 | | [Required] |
| | 1104 | 21 | | public Good Good { get; set; } |
| | 0 | 22 | | public long GoodId { get; set; } |
| | | 23 | | |
| | | 24 | | /// <summary> |
| | | 25 | | /// Цена товара новая |
| | | 26 | | /// </summary> |
| | | 27 | | [Required] |
| | | 28 | | [Column(TypeName = "decimal(18,2)")] |
| | 665 | 29 | | public decimal PriceNew { get; set; } |
| | | 30 | | |
| | | 31 | | /// <summary> |
| | | 32 | | /// Цена товара старая |
| | | 33 | | /// </summary> |
| | | 34 | | [Column(TypeName = "decimal(18,2)")] |
| | 445 | 35 | | public decimal? PriceOld { get; set; } |
| | | 36 | | |
| | 522 | 37 | | public int? Discount { get; set; } |
| | | 38 | | } |
| | | 39 | | } |