From ac8813cde64f7bf9882657416a1d102191aae960 Mon Sep 17 00:00:00 2001 From: helongyang <647556386@qq.com> Date: 星期六, 19 七月 2025 17:32:59 +0800 Subject: [PATCH] Merge branch 'master' of http://115.159.85.185:8098/r/MeiRuiAn/HuaiAn --- 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_DTO/Outbound/ErpProScrapSheetModel.cs | 69 ++++++++++++++++++++++++++++++++++ 1 files changed, 69 insertions(+), 0 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_DTO/Outbound/ErpProScrapSheetModel.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_DTO/Outbound/ErpProScrapSheetModel.cs" new file mode 100644 index 0000000..a956510 --- /dev/null +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_DTO/Outbound/ErpProScrapSheetModel.cs" @@ -0,0 +1,69 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Attributes; + +namespace WIDESEA_DTO.Outbound +{ + /// <summary> + /// 鎴愬搧鎶ュ簾鍗曟柊澧� + /// </summary> + [ModelValidate] + public class ErpProScrapSheetModel + { + // <summary> + /// 浠撳簱Id + /// </summary> + [PropertyValidate("浠撳簱Id", NotNullAndEmpty = true)] + public int WarehouseId { get; set; } + /// <summary> + /// 鍗曟嵁缂栧彿 + /// </summary> + [PropertyValidate("鍗曟嵁缂栧彿", NotNullAndEmpty = true)] + public string ProScrapSheetOrderNo { get; set; } + /// <summary> + /// 鎶ュ簾鏄庣粏 + /// </summary> + [PropertyValidate("鎶ュ簾鏄庣粏", NotNullAndEmpty = true)] + public List<ErpProScrapSheetDetailDTO> Details { get; set; } + } + + [ModelValidate] + public class ErpProScrapSheetDetailDTO + { + /// <summary> + /// 浜у搧缂栫爜 + /// </summary> + [PropertyValidate("浜у搧缂栫爜", NotNullAndEmpty = true)] + public string ScrapProCode { get; set; } + /// <summary> + /// 鎶ュ簾鐗堟湰 + /// </summary> + [PropertyValidate("鎶ュ簾鐗堟湰", NotNullAndEmpty = true)] + public string ScrapProVersion { get; set; } + /// <summary> + /// 鎵规鍙� + /// </summary> + [PropertyValidate("鎵规鍙�", NotNullAndEmpty = true)] + public string ScrapProLotNo { get; set; } + /// <summary> + /// 鎶ュ簾SET鏁伴噺 + /// </summary> + [PropertyValidate("鎶ュ簾SET鏁伴噺", NotNullAndEmpty = true)] + public int ScrapSETQty { get; set; } + /// <summary> + /// 鎶ュ簾PCS鏁� + /// </summary> + [PropertyValidate("鎶ュ簾PCS鏁�", NotNullAndEmpty = true)] + public int ScrapPcsQty { get; set; } + + /// <summary> + /// 澶囨敞 + /// </summary> + [PropertyValidate("澶囨敞", NotNullAndEmpty = false)] + public string Remark { get; set; } + } + +} -- Gitblit v1.9.3