From 2e64c232ab6b51b2cecf1ee96e1e9b709234f326 Mon Sep 17 00:00:00 2001 From: huanghongfa <huanghongfa123456> Date: 星期六, 21 八月 2021 16:35:14 +0800 Subject: [PATCH] 随手拍改版接口开发 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/PublicityEventEditDTO.java | 9 +++++++-- 1 files changed, 7 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 effeb72..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 @@ -51,12 +51,17 @@ @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; @@ -72,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