From 5389229c5ef7ad6b3c390d60914e00e71494e830 Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周四, 25 4月 2024 11:59:46 +0800
Subject: [PATCH] 界面checkbox如果是 界面必填的话,不主动选则,会报错,提示要选择
---
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