From dd18485d5e6a7605b58d667bab2e315fc33a3d4a Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周四, 25 4月 2024 13:40:22 +0800
Subject: [PATCH] 编号自动生成 公共 方法

---
 iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/WmsControlRuleDetail.cs |   19 +++++++++++++------
 1 files changed, 13 insertions(+), 6 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 3571838..89903e4 100644
--- a/iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/WmsControlRuleDetail.cs
+++ b/iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/WmsControlRuleDetail.cs
@@ -4,7 +4,7 @@
 
 /*
  * @author : 鍒樻枃濂�
- * @date : 2024/4/23涓嬪崍5:01:43
+ * @date : 2024/4/24涓嬪崍5:51:26
  * @desc : 鎺у埗灞炴�ц鍒欐槑缁�
  */
 namespace Admin.NET.Core
@@ -19,13 +19,20 @@
 
 
         /// <summary>
-        /// 鎺у埗灞炴�ц鍒橧D
+        /// 鎺у埗灞炴�ц鍒欑紪鍙�
         /// </summary>
-        [Comment("鎺у埗灞炴�ц鍒橧D")]
+        [Comment("鎺у埗灞炴�ц鍒欑紪鍙�")]
         [Required]
+        [MaxLength(50)]
+        public string RuleCode { get; set; }
 
-        public long ControlRuleId { 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