| | | 1 | | using System.ComponentModel.DataAnnotations; |
| | | 2 | | using System.ComponentModel.DataAnnotations.Schema; |
| | | 3 | | |
| | | 4 | | namespace OzonDomains.Models.OzonApi; |
| | | 5 | | |
| | | 6 | | /// <summary>Строка каталога Ozon Seller из БД OzonApi.ozon_products.</summary> |
| | | 7 | | [Table("ozon_products")] |
| | | 8 | | public class OzonProduct |
| | | 9 | | { |
| | | 10 | | [Key] |
| | | 11 | | [Column("id")] |
| | 0 | 12 | | public uint Id { get; set; } |
| | | 13 | | |
| | | 14 | | [Column("account_id")] |
| | | 15 | | [MaxLength(20)] |
| | 3 | 16 | | public string AccountId { get; set; } = string.Empty; |
| | | 17 | | |
| | | 18 | | [Column("account_name")] |
| | | 19 | | [MaxLength(100)] |
| | 4 | 20 | | public string AccountName { get; set; } = string.Empty; |
| | | 21 | | |
| | | 22 | | [Column("offer_id")] |
| | | 23 | | [MaxLength(200)] |
| | 3 | 24 | | public string OfferId { get; set; } = string.Empty; |
| | | 25 | | |
| | | 26 | | [Column("product_id")] |
| | 2 | 27 | | public long? ProductId { get; set; } |
| | | 28 | | |
| | | 29 | | [Column("name")] |
| | 1 | 30 | | public string? Name { get; set; } |
| | | 31 | | |
| | | 32 | | [Column("price")] |
| | 2 | 33 | | public decimal? Price { get; set; } |
| | | 34 | | |
| | | 35 | | [Column("old_price")] |
| | 0 | 36 | | public decimal? OldPrice { get; set; } |
| | | 37 | | |
| | | 38 | | [Column("marketing_price")] |
| | 0 | 39 | | public decimal? MarketingPrice { get; set; } |
| | | 40 | | |
| | | 41 | | [Column("min_ozon_price")] |
| | 0 | 42 | | public decimal? MinOzonPrice { get; set; } |
| | | 43 | | |
| | | 44 | | [Column("price_index")] |
| | | 45 | | [MaxLength(20)] |
| | 0 | 46 | | public string? PriceIndex { get; set; } |
| | | 47 | | |
| | | 48 | | [Column("comm_fbs")] |
| | 0 | 49 | | public decimal? CommFbs { get; set; } |
| | | 50 | | |
| | | 51 | | [Column("comm_fbo")] |
| | 0 | 52 | | public decimal? CommFbo { get; set; } |
| | | 53 | | |
| | | 54 | | [Column("acquiring")] |
| | 0 | 55 | | public decimal? Acquiring { get; set; } |
| | | 56 | | |
| | | 57 | | [Column("fbs_mile_min")] |
| | 0 | 58 | | public decimal? FbsMileMin { get; set; } |
| | | 59 | | |
| | | 60 | | [Column("fbs_mile_max")] |
| | 0 | 61 | | public decimal? FbsMileMax { get; set; } |
| | | 62 | | |
| | | 63 | | [Column("fbs_direct_min")] |
| | 0 | 64 | | public decimal? FbsDirectMin { get; set; } |
| | | 65 | | |
| | | 66 | | [Column("fbs_direct_max")] |
| | 0 | 67 | | public decimal? FbsDirectMax { get; set; } |
| | | 68 | | |
| | | 69 | | [Column("fbo_deliv")] |
| | 0 | 70 | | public decimal? FboDeliv { get; set; } |
| | | 71 | | |
| | | 72 | | [Column("updated_at")] |
| | 0 | 73 | | public DateTime? UpdatedAt { get; set; } |
| | | 74 | | |
| | | 75 | | [Column("fbs_deliv")] |
| | 0 | 76 | | public decimal? FbsDeliv { get; set; } |
| | | 77 | | |
| | | 78 | | [Column("fbo_trans_min")] |
| | 0 | 79 | | public decimal? FboTransMin { get; set; } |
| | | 80 | | |
| | | 81 | | [Column("fbo_trans_max")] |
| | 0 | 82 | | public decimal? FboTransMax { get; set; } |
| | | 83 | | |
| | | 84 | | [Column("visibility")] |
| | | 85 | | [MaxLength(30)] |
| | 2 | 86 | | public string? Visibility { get; set; } |
| | | 87 | | } |