| | | 1 | | using System.ComponentModel.DataAnnotations; |
| | | 2 | | using System.ComponentModel.DataAnnotations.Schema; |
| | | 3 | | |
| | | 4 | | namespace OzonDomains.Models; |
| | | 5 | | |
| | | 6 | | public class PriceIndexes |
| | | 7 | | { |
| | 0 | 8 | | public int Id { get; set; } |
| | | 9 | | |
| | | 10 | | // Внешние индексные данные |
| | | 11 | | [Display(Name = "Минимальная цена внешняя")] |
| | | 12 | | [Column(TypeName = "decimal(18,2)")] |
| | 0 | 13 | | public decimal ExternalMinPrice { get; set; } |
| | | 14 | | |
| | | 15 | | [MaxLength(10)] |
| | | 16 | | [Display(Name = "Валюта минимальной цены внешней")] |
| | 0 | 17 | | public string ExternalMinPriceCurrency { get; set; } = "RUB"; |
| | | 18 | | |
| | | 19 | | [Display(Name = "Значение внешнего ценового индекса")] |
| | | 20 | | [Column(TypeName = "decimal(18,4)")] |
| | 0 | 21 | | public decimal ExternalPriceIndexValue { get; set; } |
| | | 22 | | |
| | | 23 | | // Ozon индексные данные |
| | | 24 | | [Display(Name = "Минимальная цена Ozon")] |
| | | 25 | | [Column(TypeName = "decimal(18,2)")] |
| | 0 | 26 | | public decimal OzonMinPrice { get; set; } |
| | | 27 | | |
| | | 28 | | [MaxLength(10)] |
| | | 29 | | [Display(Name = "Валюта минимальной цены Ozon")] |
| | 0 | 30 | | public string OzonMinPriceCurrency { get; set; } = "RUB"; |
| | | 31 | | |
| | | 32 | | [Display(Name = "Значение ценового индекса Ozon")] |
| | | 33 | | [Column(TypeName = "decimal(18,4)")] |
| | 0 | 34 | | public decimal OzonPriceIndexValue { get; set; } |
| | | 35 | | |
| | | 36 | | // Данные по собственным маркетплейсам |
| | | 37 | | [Display(Name = "Минимальная цена собственных маркетплейсов")] |
| | | 38 | | [Column(TypeName = "decimal(18,2)")] |
| | 0 | 39 | | public decimal SelfMarketplacesMinPrice { get; set; } |
| | | 40 | | |
| | | 41 | | [MaxLength(10)] |
| | | 42 | | [Display(Name = "Валюта минимальной цены собственных маркетплейсов")] |
| | 0 | 43 | | public string SelfMarketplacesMinPriceCurrency { get; set; } = "RUB"; |
| | | 44 | | |
| | | 45 | | [Display(Name = "Значение ценового индекса собственных маркетплейсов")] |
| | | 46 | | [Column(TypeName = "decimal(18,4)")] |
| | 0 | 47 | | public decimal SelfMarketplacesPriceIndexValue { get; set; } |
| | | 48 | | |
| | | 49 | | [MaxLength(20)] |
| | | 50 | | [Display(Name = "Цветовой индекс")] |
| | 0 | 51 | | public string ColorIndex { get; set; } = "WHITE"; |
| | | 52 | | |
| | 0 | 53 | | public int OrderPriceId { get; set; } |
| | | 54 | | } |