| | | 1 | | using Newtonsoft.Json; |
| | | 2 | | using Services.ApiServices.ArmtekApi.Converters; |
| | | 3 | | |
| | | 4 | | namespace Services.ApiServices.ArmtekApi.Models.Response; |
| | | 5 | | |
| | | 6 | | /// <summary>getOrderPositionsReportByDate — RESP.DATA[].</summary> |
| | | 7 | | public class ArmtekOrderPositionReportItem |
| | | 8 | | { |
| | | 9 | | [JsonProperty("POSNR")] |
| | | 10 | | [JsonConverter(typeof(ArmtekFlexibleStringConverter))] |
| | 4 | 11 | | public string? Posnr { get; set; } |
| | | 12 | | |
| | 5 | 13 | | [JsonProperty("BRAND")] public string Brand { get; set; } = string.Empty; |
| | 4 | 14 | | [JsonProperty("PIN")] public string Pin { get; set; } = string.Empty; |
| | 4 | 15 | | [JsonProperty("NAME")] public string Name { get; set; } = string.Empty; |
| | 4 | 16 | | [JsonProperty("ORDER")] public string Order { get; set; } = string.Empty; |
| | 4 | 17 | | [JsonProperty("ORDER_TYPE")] public string OrderType { get; set; } = string.Empty; |
| | 2 | 18 | | [JsonProperty("ORDER_DATE")] public string OrderDate { get; set; } = string.Empty; |
| | 4 | 19 | | [JsonProperty("ORDER_STATUS")] public string OrderStatus { get; set; } = string.Empty; |
| | 2 | 20 | | [JsonProperty("ETDAT")] public string DeliveryFrom { get; set; } = string.Empty; |
| | 2 | 21 | | [JsonProperty("VDATU")] public string DeliveryTo { get; set; } = string.Empty; |
| | | 22 | | |
| | | 23 | | /// <summary>Заказано.</summary> |
| | | 24 | | [JsonProperty("KWMENG")] |
| | | 25 | | [JsonConverter(typeof(ArmtekFlexibleStringConverter))] |
| | 4 | 26 | | public string? Kwmeng { get; set; } |
| | | 27 | | |
| | | 28 | | /// <summary>Только для ЦЗ, иначе "-".</summary> |
| | | 29 | | [JsonProperty("KWMENG_REQ")] |
| | | 30 | | [JsonConverter(typeof(ArmtekFlexibleStringConverter))] |
| | 0 | 31 | | public string? KwmengReq { get; set; } |
| | | 32 | | |
| | | 33 | | [JsonProperty("KWMENG_PROC")] |
| | | 34 | | [JsonConverter(typeof(ArmtekFlexibleStringConverter))] |
| | 0 | 35 | | public string? KwmengProc { get; set; } |
| | | 36 | | |
| | | 37 | | [JsonProperty("KWMENG_L")] |
| | | 38 | | [JsonConverter(typeof(ArmtekFlexibleStringConverter))] |
| | 0 | 39 | | public string? KwmengL { get; set; } |
| | | 40 | | |
| | | 41 | | [JsonProperty("KWMENG_REJ_P")] |
| | | 42 | | [JsonConverter(typeof(ArmtekFlexibleStringConverter))] |
| | 0 | 43 | | public string? KwmengRejP { get; set; } |
| | | 44 | | |
| | | 45 | | [JsonProperty("KWMENG_WAYIN")] |
| | | 46 | | [JsonConverter(typeof(ArmtekFlexibleStringConverter))] |
| | 0 | 47 | | public string? KwmengWayIn { get; set; } |
| | | 48 | | |
| | | 49 | | /// <summary>К поставке.</summary> |
| | | 50 | | [JsonProperty("KWMENG_P")] |
| | | 51 | | [JsonConverter(typeof(ArmtekFlexibleStringConverter))] |
| | 6 | 52 | | public string? KwmengP { get; set; } |
| | | 53 | | |
| | | 54 | | /// <summary>Отгружено.</summary> |
| | | 55 | | [JsonProperty("KWMENG_R")] |
| | | 56 | | [JsonConverter(typeof(ArmtekFlexibleStringConverter))] |
| | 4 | 57 | | public string? KwmengR { get; set; } |
| | | 58 | | |
| | | 59 | | /// <summary>Отклонено.</summary> |
| | | 60 | | [JsonProperty("KWMENG_REJ")] |
| | | 61 | | [JsonConverter(typeof(ArmtekFlexibleStringConverter))] |
| | 4 | 62 | | public string? KwmengRej { get; set; } |
| | | 63 | | |
| | | 64 | | [JsonProperty("PRICE")] |
| | | 65 | | [JsonConverter(typeof(ArmtekFlexibleStringConverter))] |
| | 4 | 66 | | public string? Price { get; set; } |
| | | 67 | | |
| | 4 | 68 | | [JsonProperty("CURRENCY")] public string Currency { get; set; } = string.Empty; |
| | | 69 | | |
| | | 70 | | /// <summary>Пусто/полностью поставлена/частично поставлена/частично отклонена/полностью отклонена.</summary> |
| | 2 | 71 | | [JsonProperty("STATUS")] public string Status { get; set; } = string.Empty; |
| | | 72 | | |
| | | 73 | | /// <summary>Блокирован/Не блокирован.</summary> |
| | 2 | 74 | | [JsonProperty("STATCRED")] public string CreditStatus { get; set; } = string.Empty; |
| | | 75 | | |
| | 2 | 76 | | [JsonProperty("NOTE")] public string Note { get; set; } = string.Empty; |
| | 2 | 77 | | [JsonProperty("DLVRD")] public string ExpectedDeliveryDate { get; set; } = string.Empty; |
| | 2 | 78 | | [JsonProperty("WRNTD")] public string GuaranteedDeliveryDate { get; set; } = string.Empty; |
| | 2 | 79 | | [JsonProperty("ABGRU_TXT")] public string RejectionReasonText { get; set; } = string.Empty; |
| | 2 | 80 | | [JsonProperty("POSEX")] public string ParentPosition { get; set; } = string.Empty; |
| | 2 | 81 | | [JsonProperty("POSROOT")] public string RootPosition { get; set; } = string.Empty; |
| | 2 | 82 | | [JsonProperty("CHARG")] public string DefectBatch { get; set; } = string.Empty; |
| | | 83 | | |
| | | 84 | | [JsonProperty("CHARG_BLK")] |
| | | 85 | | [JsonConverter(typeof(ArmtekFlexibleStringConverter))] |
| | 0 | 86 | | public string? DefectBatchBlocked { get; set; } |
| | | 87 | | } |