| | | 1 | | using System.ComponentModel.DataAnnotations; |
| | | 2 | | using System.ComponentModel.DataAnnotations.Schema; |
| | | 3 | | |
| | | 4 | | namespace OzonDomains.Models; |
| | | 5 | | |
| | | 6 | | [Table("MoskvorechieIstraCartItems")] |
| | | 7 | | public sealed class MoskvorechieIstraCartItem |
| | | 8 | | { |
| | 21 | 9 | | public long Id { get; set; } |
| | 34 | 10 | | public int StudioOrderId { get; set; } |
| | 54 | 11 | | public int? ActiveStudioOrderId { get; set; } |
| | 0 | 12 | | public Order? StudioOrder { get; set; } |
| | 61 | 13 | | [Required, MaxLength(32)] public string ExternalBasketItemId { get; set; } = string.Empty; |
| | 74 | 14 | | [Required, MaxLength(128)] public string Article { get; set; } = string.Empty; |
| | 73 | 15 | | [Required, MaxLength(80)] public string Brand { get; set; } = string.Empty; |
| | 22 | 16 | | [MaxLength(160)] public string? ProductName { get; set; } |
| | 43 | 17 | | public decimal Quantity { get; set; } |
| | 51 | 18 | | public decimal? SourcePrice { get; set; } |
| | 5 | 19 | | [MaxLength(255)] public string? Warehouse { get; set; } |
| | 23 | 20 | | public int? DeliveryDaysMin { get; set; } |
| | 23 | 21 | | public int? DeliveryDaysMax { get; set; } |
| | 26 | 22 | | [MaxLength(1000)] public string? Comment { get; set; } |
| | 68 | 23 | | [Required, MaxLength(30)] public string Status { get; set; } = "Pending"; |
| | 20 | 24 | | [MaxLength(1000)] public string? LastError { get; set; } |
| | 5 | 25 | | [MaxLength(450)] public string? CreatedBy { get; set; } |
| | 26 | 26 | | public DateTime CreatedAtUtc { get; set; } = DateTime.UtcNow; |
| | 54 | 27 | | public DateTime UpdatedAtUtc { get; set; } = DateTime.UtcNow; |
| | | 28 | | } |