From c5238c1b78e8e7a066d6a82e4bbd5118de6b6efb Mon Sep 17 00:00:00 2001
From: hutongqing <hutongqing@hnkhzn.com>
Date: 星期一, 16 十二月 2024 21:23:02 +0800
Subject: [PATCH] 1
---
代码管理/WMS/WIDESEA_WMSServer/WIDESEA_DTO/ERP/PurchaseOrderModel.cs | 21 ++++++++++++++++++++-
1 files changed, 20 insertions(+), 1 deletions(-)
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_DTO/ERP/PurchaseOrderModel.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_DTO/ERP/PurchaseOrderModel.cs"
index f00d56f..f7789c8 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_DTO/ERP/PurchaseOrderModel.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_DTO/ERP/PurchaseOrderModel.cs"
@@ -1,6 +1,7 @@
锘縰sing System;
using System.Collections.Generic;
using System.Linq;
+using System.Reflection.Metadata;
using System.Text;
using System.Threading.Tasks;
using WIDESEA_Core.Attributes;
@@ -10,6 +11,23 @@
namespace WIDESEA_DTO
{
+ [ModelValidate]
+ public class Root
+ {
+ /// <summary>
+ ///
+ /// </summary>
+ public string From { get; set; }
+ /// <summary>
+ ///
+ /// </summary>
+ public string DateTime { get; set; }
+ /// <summary>
+ ///
+ /// </summary>
+ [PropertyValidate("鐗╂枡鍒楄〃", NotNullAndEmpty = true)]
+ public PurchaseOrderModel Content { get; set; }
+ }
/// <summary>
/// 閲囪喘鍗曟ā鍨�
/// </summary>
@@ -67,6 +85,7 @@
/// <summary>
/// 閲囪喘鍗曟槑缁嗘ā鍨�
/// </summary>
+ [ModelValidate]
public class PurchaseOrderDetailModel
{
/// <summary>
@@ -81,7 +100,7 @@
/// 浠撳簱缂栧彿
/// </summary>
[PropertyValidate("浠撳簱缂栧彿", NotNullAndEmpty = true)]
- public int WaId { get; set; }
+ public string WaId { get; set; }
/// <summary>
/// 鏁伴噺
--
Gitblit v1.9.3