From aef219e6e7e9fb1f3592806d5e64ce714adf6848 Mon Sep 17 00:00:00 2001 From: xyh <18782104331@139.com> Date: 星期五, 18 六月 2021 15:39:51 +0800 Subject: [PATCH] bug-424-【后端-宣传教育-新增 】 宣传人数只能输入大于等于0的正正数,8位长度字符 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/EventGridDataAddDTO.java | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/EventGridDataAddDTO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/EventGridDataAddDTO.java index d1375f3..483e0d0 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/EventGridDataAddDTO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/EventGridDataAddDTO.java @@ -8,6 +8,8 @@ import javax.validation.constraints.NotNull; import javax.validation.constraints.NotBlank; import java.util.Date; +import java.util.List; + import org.hibernate.validator.constraints.Length; import com.fasterxml.jackson.annotation.JsonFormat; @@ -73,6 +75,9 @@ @ApiModelProperty(value = "围栏数据", hidden = false, example = "") private String data; + @ApiModelProperty(value = "网格员ID", hidden = false, example = "[12,45]") + private List<Long> gridMemebers; + @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") private Long userId; -- Gitblit v1.7.1