From 17507355c8587d5f0f7f7f477937a354d89c8333 Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周四, 25 4月 2024 12:59:18 +0800
Subject: [PATCH] 优化if (isExist) throw Oops.Oh(ErrorCode.E0001);,提示的更细节一些

---
 iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/WmsControlRuleDetail.cs |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/WmsControlRuleDetail.cs b/iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/WmsControlRuleDetail.cs
index 79a2af2..89903e4 100644
--- a/iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/WmsControlRuleDetail.cs
+++ b/iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/WmsControlRuleDetail.cs
@@ -26,6 +26,13 @@
         [MaxLength(50)]
         public string RuleCode { get; set; }
 
+        /// <summary>
+        /// 鎺у埗灞炴�ц鍒欏悕绉�
+        /// </summary>
+        [Comment("鎺у埗灞炴�ц鍒欏悕绉�")]
+        [Required]
+        [MaxLength(50)]
+        public string RuleName { get; set; }
 
         /// <summary>
         /// 鏈�楂樺簱瀛�
@@ -77,7 +84,7 @@
         /// </summary>
         [Comment("鏄惁鍏嶆")]
 
-        public bool? IsNotChek { get; set; }
+        public bool IsNotChek { get; set; }
 
 
         /// <summary>

--
Gitblit v1.9.3