| | | 1 | | using System.ComponentModel.DataAnnotations; |
| | | 2 | | using System.ComponentModel.DataAnnotations.Schema; |
| | | 3 | | |
| | | 4 | | namespace OzonDomains.Models; |
| | | 5 | | |
| | | 6 | | [Table("ForumAutoOrderItems")] |
| | | 7 | | public sealed class ForumAutoOrderItem |
| | | 8 | | { |
| | 1 | 9 | | public long Id { get; set; } |
| | 8 | 10 | | public long ForumAutoOrderId { get; set; } |
| | 1 | 11 | | public ForumAutoOrder? ForumAutoOrder { get; set; } |
| | 7 | 12 | | public long? ForumAutoCartItemId { get; set; } |
| | 0 | 13 | | public ForumAutoCartItem? ForumAutoCartItem { get; set; } |
| | 8 | 14 | | public int StudioOrderId { get; set; } |
| | 0 | 15 | | public Order? StudioOrder { get; set; } |
| | | 16 | | /// <summary>Строка заказа в системе Forum-Auto (eid).</summary> |
| | 8 | 17 | | public int? Eid { get; set; } |
| | 12 | 18 | | [Required, MaxLength(60)] public string Tid { get; set; } = string.Empty; |
| | 12 | 19 | | [Required, MaxLength(80)] public string Brand { get; set; } = string.Empty; |
| | 6 | 20 | | public decimal Quantity { get; set; } |
| | 5 | 21 | | public decimal? Price { get; set; } |
| | 5 | 22 | | [MaxLength(8)] public string? CurrencyCode { get; set; } |
| | 0 | 23 | | [MaxLength(1000)] public string? Error { get; set; } |
| | | 24 | | } |