From 0aa54059b26e6641196e9953490dd18616e916e3 Mon Sep 17 00:00:00 2001 From: 啊鑫 <t2856754968@163.com> Date: 星期三, 10 九月 2025 17:26:47 +0800 Subject: [PATCH] 精简修正代码 --- Dto/Xky/XkyBarcodeDataDto.cs | 117 ++++++++++++++++++++++++---------------------------------- 1 files changed, 48 insertions(+), 69 deletions(-) diff --git a/Dto/Xky/XkyBarcodeDataDto.cs b/Dto/Xky/XkyBarcodeDataDto.cs index d713ae0..91ea7b7 100644 --- a/Dto/Xky/XkyBarcodeDataDto.cs +++ b/Dto/Xky/XkyBarcodeDataDto.cs @@ -1,103 +1,82 @@ using Newtonsoft.Json; -namespace NewPdaSqlServer.Dto.Xky +namespace NewPdaSqlServer.Dto.Xky; + +public class XkyBarcodeDataDto { - public class XkyBarcodeDataDto - { - [JsonProperty("poErpNo")] - public string PoErpNo { get; set; } + [JsonProperty("poErpNo")] public string PoErpNo { get; set; } - [JsonProperty("poLineNo")] - public string PoLineNo { get; set; } + [JsonProperty("poLineNo")] public string PoLineNo { get; set; } - [JsonProperty("productCode")] - public string ProductCode { get; set; } + [JsonProperty("productCode")] public string ProductCode { get; set; } - [JsonProperty("productName")] - public string ProductName { get; set; } + [JsonProperty("productName")] public string ProductName { get; set; } - [JsonProperty("productScale")] - public string ProductScale { get; set; } + [JsonProperty("productScale")] public string ProductScale { get; set; } - [JsonProperty("smallBarcode")] - public string SmallBarcode { get; set; } + [JsonProperty("smallBarcode")] public string SmallBarcode { get; set; } - [JsonProperty("bigBarcode")] - public string BigBarcode { get; set; } + [JsonProperty("bigBarcode")] public string BigBarcode { get; set; } - [JsonProperty("outerBarcode")] - public string OuterBarcode { get; set; } + [JsonProperty("outerBarcode")] public string OuterBarcode { get; set; } - [JsonProperty("includeQty")] - public decimal IncludeQty { get; set; } + [JsonProperty("includeQty")] public decimal IncludeQty { get; set; } - [JsonProperty("smallPackageLength")] - public int? SmallPackageLength { get; set; } + [JsonProperty("smallPackageLength")] + public int? SmallPackageLength { get; set; } - [JsonProperty("smallPackageWidth")] - public int? SmallPackageWidth { get; set; } + [JsonProperty("smallPackageWidth")] + public int? SmallPackageWidth { get; set; } - [JsonProperty("smallPackageHeight")] - public int? SmallPackageHeight { get; set; } + [JsonProperty("smallPackageHeight")] + public int? SmallPackageHeight { get; set; } - [JsonProperty("bigPackageLength")] - public int? BigPackageLength { get; set; } + [JsonProperty("bigPackageLength")] + public int? BigPackageLength { get; set; } - [JsonProperty("bigPackageWidth")] - public int? BigPackageWidth { get; set; } + [JsonProperty("bigPackageWidth")] public int? BigPackageWidth { get; set; } - [JsonProperty("bigPackageHeight")] - public int? BigPackageHeight { get; set; } + [JsonProperty("bigPackageHeight")] + public int? BigPackageHeight { get; set; } - [JsonProperty("outerPackageLength")] - public int? OuterPackageLength { get; set; } + [JsonProperty("outerPackageLength")] + public int? OuterPackageLength { get; set; } - [JsonProperty("outerPackageWidth")] - public int? OuterPackageWidth { get; set; } + [JsonProperty("outerPackageWidth")] + public int? OuterPackageWidth { get; set; } - [JsonProperty("outerPackageHeight")] - public int? OuterPackageHeight { get; set; } + [JsonProperty("outerPackageHeight")] + public int? OuterPackageHeight { get; set; } - [JsonProperty("smallPackageSn")] - public string SmallPackageSn { get; set; } + [JsonProperty("smallPackageSn")] public string SmallPackageSn { get; set; } - [JsonProperty("bigPackageSn")] - public string BigPackageSn { get; set; } + [JsonProperty("bigPackageSn")] public string BigPackageSn { get; set; } - [JsonProperty("outerPackageSn")] - public string OuterPackageSn { get; set; } + [JsonProperty("outerPackageSn")] public string OuterPackageSn { get; set; } - [JsonProperty("dnLines")] - public string DnLines { get; set; } + [JsonProperty("dnLines")] public string DnLines { get; set; } - [JsonProperty("dynamicData")] - public XkyDynamicDataDto DynamicData { get; set; } + [JsonProperty("dynamicData")] + public XkyDynamicDataDto DynamicData { get; set; } - [JsonProperty("createType")] - public int CreateType { get; set; } + [JsonProperty("createType")] public int CreateType { get; set; } - [JsonProperty("packLevel")] - public int PackLevel { get; set; } - } + [JsonProperty("packLevel")] public int PackLevel { get; set; } +} - public class XkyDynamicDataDto - { - [JsonProperty("poErpNo")] - public string PoErpNo { get; set; } +public class XkyDynamicDataDto +{ + [JsonProperty("poErpNo")] public string PoErpNo { get; set; } - [JsonProperty("poLineNo")] - public string PoLineNo { get; set; } + [JsonProperty("poLineNo")] public string PoLineNo { get; set; } - [JsonProperty("innerVendorCode")] - public string InnerVendorCode { get; set; } + [JsonProperty("innerVendorCode")] + public string InnerVendorCode { get; set; } - [JsonProperty("customize1")] - public string Customize1 { get; set; } + [JsonProperty("customize1")] public string Customize1 { get; set; } - [JsonProperty("customize2")] - public string Customize2 { get; set; } // 注意:JSON中这里是数字1747584000000 + [JsonProperty("customize2")] + public string Customize2 { get; set; } // 注锟解:JSON锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷1747584000000 - [JsonProperty("customize3")] - public string Customize3 { get; set; } - } + [JsonProperty("customize3")] public string Customize3 { get; set; } } \ No newline at end of file -- Gitblit v1.9.3