| | | 1 | | using System.ComponentModel.DataAnnotations; |
| | | 2 | | using System.ComponentModel.DataAnnotations.Schema; |
| | | 3 | | |
| | | 4 | | namespace OzonDomains.Models.BitrixModels; |
| | | 5 | | |
| | | 6 | | [Table("b_catalog_price")] |
| | | 7 | | public class BCatalogPrice |
| | | 8 | | { |
| | | 9 | | [Key] |
| | | 10 | | [Column("ID")] |
| | 0 | 11 | | public int Id { get; set; } |
| | | 12 | | |
| | | 13 | | [Column("PRODUCT_ID")] |
| | 0 | 14 | | public int ProductId { get; set; } |
| | | 15 | | |
| | | 16 | | [Column("EXTRA_ID")] |
| | 0 | 17 | | public int? ExtraId { get; set; } |
| | | 18 | | |
| | | 19 | | [Column("CATALOG_GROUP_ID")] |
| | 0 | 20 | | public int CatalogGroupId { get; set; } |
| | | 21 | | |
| | | 22 | | [Column("PRICE", TypeName = "decimal(18,2)")] |
| | 0 | 23 | | public decimal Price { get; set; } |
| | | 24 | | |
| | | 25 | | [Column("CURRENCY")] |
| | | 26 | | [StringLength(3)] |
| | 0 | 27 | | public string Currency { get; set; } = string.Empty; |
| | | 28 | | |
| | | 29 | | [Column("TIMESTAMP_X")] |
| | 0 | 30 | | public DateTime TimestampX { get; set; } |
| | | 31 | | |
| | | 32 | | [Column("QUANTITY_FROM")] |
| | 0 | 33 | | public int? QuantityFrom { get; set; } |
| | | 34 | | |
| | | 35 | | [Column("QUANTITY_TO")] |
| | 0 | 36 | | public int? QuantityTo { get; set; } |
| | | 37 | | |
| | | 38 | | [Column("TMP_ID")] |
| | | 39 | | [StringLength(40)] |
| | 0 | 40 | | public string? TmpId { get; set; } |
| | | 41 | | |
| | | 42 | | [Column("PRICE_SCALE", TypeName = "decimal(26,12)")] |
| | 0 | 43 | | public decimal? PriceScale { get; set; } |
| | | 44 | | } |