From c6512655e722d9ca80dd8c34b79f6d3923ecf86c Mon Sep 17 00:00:00 2001 From: 罗元桥 <2376770955@qq.com> Date: 星期二, 22 六月 2021 16:07:50 +0800 Subject: [PATCH] Merge branch 'test' into 'test_screen' --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/PublicityEventEditDTO.java | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/PublicityEventEditDTO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/PublicityEventEditDTO.java index 875ee5f..0c4283b 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/PublicityEventEditDTO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/PublicityEventEditDTO.java @@ -42,17 +42,26 @@ @ApiModelProperty(value = "发生地点-位置备注", hidden = false, example = "") private String happentAddress; + @Length(max=255) + @ApiModelProperty(value = "事件发生地点", hidden = false, example = "", required = true) + private String happenAddress; + @Max(9223372036854775807L) @ApiModelProperty(value = "宣传区域-网格ID", hidden = false, example = "1", required = true) @NotNull(message = "宣传区域不能为空") private Long gridId; + + @Max(9223372036854775807L) + @ApiModelProperty(value = "上报人ID", hidden = false, example = "1", required = true) + //@NotNull(message = "上报人不能为空") + private Long gridMemberId; @Length(max=255) @ApiModelProperty(value = "宣传主题", hidden = false, example = "", required = true) @NotNull(message = "宣传主题不能为空") private String eventTitle; - @Length(max=255) + @Length(max=500) @ApiModelProperty(value = "宣传内容", hidden = false, example = "", required = true) @NotNull(message = "宣传内容不能为空") private String eventDes; @@ -68,7 +77,7 @@ @NotNull(message = "宣传对象不能为空") private String propagandaObject; - @Length(max=10) + @Length(max=8) @ApiModelProperty(value = "宣传人数", hidden = false, example = "", required = true) @NotNull(message = "宣传人数不能为空") private String propagandaNum; -- Gitblit v1.7.1