From 3d25ef8353e593533ade370481a49209dc603785 Mon Sep 17 00:00:00 2001 From: dengjunjie <dengjunjie@hnkhzn.com> Date: 星期一, 16 十二月 2024 13:45:38 +0800 Subject: [PATCH] 修改ERP参数对象结果 --- 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_DTO/Basic/SupplierDTO.cs | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_DTO/Basic/SupplierDTO.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_DTO/Basic/SupplierDTO.cs" index 4ea44a1..6f11d3a 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_DTO/Basic/SupplierDTO.cs" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_DTO/Basic/SupplierDTO.cs" @@ -3,9 +3,28 @@ using System.Linq; using System.Text; using System.Threading.Tasks; +using WIDESEA_Core.Attributes; namespace WIDESEA_DTO.Basic { + [ModelValidate] + public class Supplier + { + /// <summary> + /// + /// </summary> + public string From { get; set; } + /// <summary> + /// + /// </summary> + public string DateTime { get; set; } + /// <summary> + /// + /// </summary> + [PropertyValidate("鐗╂枡鍒楄〃", NotNullAndEmpty = true)] + public SupplierDTO Content { get; set; } + } + [ModelValidate] public class SupplierDTO { public string Code { get; set; } -- Gitblit v1.9.3