From 5ab6b36c0c4bd80a31dcdd9f15cc835b7352c4e7 Mon Sep 17 00:00:00 2001 From: wangxinhui <wangxinhui@hnkhzn.com> Date: 星期四, 16 一月 2025 11:08:02 +0800 Subject: [PATCH] 1 --- 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_DTO/MES/TestToolModel.cs | 38 +++++++++++++++++++++++++++++--------- 1 files changed, 29 insertions(+), 9 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_DTO/MES/TestToolModel.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_DTO/MES/TestToolModel.cs" index 1abf8d9..9fbec5f 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_DTO/MES/TestToolModel.cs" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_DTO/MES/TestToolModel.cs" @@ -14,9 +14,9 @@ public class TestToolOutModel { /// <summary> - /// 娴嬫灦缂栫爜 + /// 娴嬭瘯鏋舵壒娆″彿 /// </summary> - [PropertyValidate("娴嬫灦缂栫爜", NotNullAndEmpty = true)] + [PropertyValidate("娴嬭瘯鏋舵壒娆″彿", NotNullAndEmpty = true)] public string ToolCode { get; set; } /// <summary> /// 鐩爣鍦板潃鐮� @@ -29,17 +29,17 @@ /// 娴嬭瘯鏋舵姤搴熸ā鍨� /// </summary> [ModelValidate] - public class TestToolScrapModel + public class TestToolScrap { /// <summary> - /// 娴嬫灦缂栫爜 + /// 娴嬭瘯鏋舵壒娆″彿 /// </summary> - [PropertyValidate("娴嬫灦缂栫爜", NotNullAndEmpty = true)] - public string ToolCode { get; set; } + [PropertyValidate("娴嬭瘯鏋舵壒娆″彿", NotNullAndEmpty = true)] + public List<string> ToolCodes { get; set; } } /// <summary> - /// 娴嬭瘯鏋堕��搴撴ā鍨� + /// 娴嬭瘯鏋堕��搴� /// </summary> [ModelValidate] public class TestToolBackModel @@ -51,9 +51,29 @@ public string SourceAddressCode { get; set; } /// <summary> - /// 娴嬭瘯鏋剁紪鐮� + /// 娴嬭瘯鏋舵壒娆″彿 /// </summary> - [PropertyValidate("娴嬭瘯鏋剁紪鐮�", NotNullAndEmpty = true)] + [PropertyValidate("娴嬭瘯鏋舵壒娆″彿", NotNullAndEmpty = true)] public string TestToolCode { get; set; } } + + /// <summary> + ///娴嬭瘯鏋跺悓姝� + /// </summary> + public class TestToolSynInfo + { + /// <summary> + /// 娴嬭瘯鏋舵壒娆″彿 + /// </summary> + public string ToolCode { get; set; } + ///// <summary> + ///// 娴嬭瘯鏋剁墿鏂欏悕绉� + ///// </summary> + public string MaterialName { get; set; } + /// <summary> + /// 鍒濆瀵垮懡 + /// </summary> + public int Life { get; set; } + + } } -- Gitblit v1.9.3