| | | 1 | | namespace OzonOrdersWeb.Areas.Studio2.ViewModels; |
| | | 2 | | |
| | | 3 | | public class MultipleTransactionPagesViewModel |
| | | 4 | | { |
| | | 5 | | public List<WarehouseTransactionPage> WarehousePages { get; set; } = new(); |
| | | 6 | | public DateTime OneCOperationDate { get; set; } |
| | | 7 | | } |
| | | 8 | | |
| | | 9 | | public class WarehouseTransactionPage |
| | | 10 | | { |
| | | 11 | | public string WarehouseName { get; set; } = string.Empty; |
| | | 12 | | public string Url { get; set; } = string.Empty; |
| | | 13 | | public int OrdersCount { get; set; } |
| | | 14 | | public int AvailableOrdersCount { get; set; } |
| | | 15 | | public int ProcessedOrdersCount { get; set; } |
| | | 16 | | public int StatusOnlyOrdersCount { get; set; } |
| | | 17 | | public bool HasWarnings { get; set; } |
| | | 18 | | public string WarningText { get; set; } = string.Empty; |
| | | 19 | | public bool CanOpen { get; set; } = true; |
| | | 20 | | public string GroupKey { get; set; } = string.Empty; |
| | | 21 | | public List<WarehouseTransactionPreviewOrder> PreviewOrders { get; set; } = new(); |
| | | 22 | | } |
| | | 23 | | |
| | | 24 | | public class WarehouseTransactionPreviewOrder |
| | | 25 | | { |
| | 0 | 26 | | public int Id { get; set; } |
| | 0 | 27 | | public string ShipmentNumber { get; set; } = string.Empty; |
| | 0 | 28 | | public string Article { get; set; } = string.Empty; |
| | 0 | 29 | | public string StatusName { get; set; } = string.Empty; |
| | 0 | 30 | | public string StatusColor { get; set; } = "#e9ecef"; |
| | 0 | 31 | | public bool IsAlreadyProcessed { get; set; } |
| | 0 | 32 | | public bool IsStatusOnlyChange { get; set; } |
| | | 33 | | } |