| | | 1 | | namespace OzonOrdersWeb.Areas.Studio2.ViewModels.OrderHistory; |
| | | 2 | | |
| | | 3 | | public class OrderHistoryOneCPostingViewModel |
| | | 4 | | { |
| | 3 | 5 | | public long Id { get; set; } |
| | 0 | 6 | | public int OrderId { get; set; } |
| | 0 | 7 | | public int? TransactionId { get; set; } |
| | 2 | 8 | | public string OperationKind { get; set; } = string.Empty; |
| | 3 | 9 | | public bool Success { get; set; } |
| | 4 | 10 | | public DateTime PostedAt { get; set; } |
| | 0 | 11 | | public string? ChangedBy { get; set; } |
| | 1 | 12 | | public string? HistoryBatchKey { get; set; } |
| | 6 | 13 | | public List<int> LinkedHistoryIds { get; set; } = new(); |
| | | 14 | | |
| | 0 | 15 | | public string? OrganizationName { get; set; } |
| | 0 | 16 | | public string? OrganizationInn { get; set; } |
| | 0 | 17 | | public string? SenderName { get; set; } |
| | 0 | 18 | | public string? SenderInn { get; set; } |
| | 0 | 19 | | public string? WarehouseSender { get; set; } |
| | 0 | 20 | | public string? WarehouseRecipient { get; set; } |
| | 0 | 21 | | public int OrdersCount { get; set; } |
| | 0 | 22 | | public int ProductsCount { get; set; } |
| | 0 | 23 | | public string? ArticlesSummary { get; set; } |
| | 0 | 24 | | public int DocumentsCount { get; set; } |
| | 0 | 25 | | public string? DocumentNumbers { get; set; } |
| | 0 | 26 | | public string? DocumentGuids { get; set; } |
| | 0 | 27 | | public bool IsPosted { get; set; } |
| | 0 | 28 | | public string? ErrorSummary { get; set; } |
| | 0 | 29 | | public string? CreatedNomenclature { get; set; } |
| | | 30 | | |
| | 0 | 31 | | public string OperationKindDisplay => OperationKind switch |
| | 0 | 32 | | { |
| | 0 | 33 | | "Movement" => "Перемещение", |
| | 0 | 34 | | "Receipt" => "Приходная накладная", |
| | 0 | 35 | | "Expense" => "Расходная накладная", |
| | 0 | 36 | | _ => OperationKind |
| | 0 | 37 | | }; |
| | | 38 | | } |