From d4b425d1f115aafd23b4dcf377eef4ed1ba400cc Mon Sep 17 00:00:00 2001
From: lihang <lihang@vci-tech.com>
Date: 星期三, 05 七月 2023 16:35:13 +0800
Subject: [PATCH] Merge branch 'master' of http://dev.vci-tech.com:1065/r/ubcs

---
 Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/entity/CodeRule.java |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/entity/CodeRule.java b/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/entity/CodeRule.java
index dca7936..f622bdd 100644
--- a/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/entity/CodeRule.java
+++ b/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/entity/CodeRule.java
@@ -24,6 +24,8 @@
 import lombok.Data;
 import lombok.EqualsAndHashCode;
 
+import javax.validation.constraints.NotBlank;
+
 /**
  * 缂栫爜瑙勫垯 瀹炰綋绫�
  *
@@ -44,11 +46,13 @@
 	/**
 	 * 瑙勫垯缂栧彿
 	 */
+	@NotBlank(message = "瑙勫垯缂栧彿涓嶈兘涓虹┖")
 	private String id;
 
 	/**
 	 * 瑙勫垯鐨勫悕绉�
 	 */
+	@NotBlank(message = "瑙勫垯鐨勫悕绉颁笉鑳戒负绌�")
 	private String name;
 
 	/**

--
Gitblit v1.9.3