From 8f7ad469fe107457f6d4a6d14cf1e733b910618b Mon Sep 17 00:00:00 2001
From: CeDo <cedoogle@gmail.com>
Date: 星期六, 29 五月 2021 18:09:08 +0800
Subject: [PATCH] 事件流转完善

---
 springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/SpecialEventEditDTO.java |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/SpecialEventEditDTO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/SpecialEventEditDTO.java
index 1811f32..610d8a4 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/SpecialEventEditDTO.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/SpecialEventEditDTO.java
@@ -21,8 +21,11 @@
  * @date 2021-05-26
  * */
 @Data
-@ApiModel("特殊人气事件请求参数")
+@ApiModel("特殊人群事件请求参数")
 public class SpecialEventEditDTO {
+    @Max(9223372036854775807L)
+    @ApiModelProperty(value = "id,如果是新增则不填", hidden = false, example = "1")
+    private Long id;
 
     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
     @ApiModelProperty(value = "发生时间", hidden = false, example = "2021-05-01 18:05:50", required = true)
@@ -77,7 +80,7 @@
     private Boolean major;
 
     @ApiModelProperty(value = "特殊人群", hidden = false, required = true)
-    @NotNull(message = "特殊人群不能为空")
+    @NotNull(message = "特殊人员信息不能为空")
     private List<SpecialPopulationDTO> specialPopulation;
 
     @ApiModelProperty(value = "音频(限1个)", hidden = false, example = "http://image.panzhihua.nhys.cdnhxx.com/idcard/8f77d43e8bce47d38b63e2a8ceb0a7c6.mp3")

--
Gitblit v1.7.1