From 12cbe6b75a2cd522dbff3e68df7b2f6f6b86bedf Mon Sep 17 00:00:00 2001
From: CeDo <cedoogle@gmail.com>
Date: 星期四, 29 四月 2021 16:59:44 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/test' into test
---
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/SystemmanagementConfigVO.java | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/SystemmanagementConfigVO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/SystemmanagementConfigVO.java
index fe30060..8c079d9 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/SystemmanagementConfigVO.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/SystemmanagementConfigVO.java
@@ -2,10 +2,12 @@
import com.panzhihua.common.model.vos.community.ComMngStructBuildTypeVO;
import com.panzhihua.common.model.vos.user.ComMngUserTagVO;
+import com.panzhihua.common.validated.AddGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
+import javax.validation.constraints.NotEmpty;
import java.util.List;
/**
@@ -18,10 +20,12 @@
@ApiModel(value = "系统配置")
public class SystemmanagementConfigVO {
@ApiModelProperty("建筑类型")
+ @NotEmpty(groups = {AddGroup.class},message ="建筑类型不能为空")
List<ComMngStructBuildTypeVO> comMngStructBuildTypeVOList;
@ApiModelProperty("用户标签")
+ @NotEmpty(groups = {AddGroup.class},message ="用户标签不能为空")
List<ComMngUserTagVO> comMngUserTagVOList;
- @ApiModelProperty("社区id")
+ @ApiModelProperty(value = "社区id",hidden = true)
private Long communityId;
}
--
Gitblit v1.7.1