From 177249c76aeea0b4bf8d8816d4994e3b445b45ce Mon Sep 17 00:00:00 2001 From: huanghongfa <huanghongfa123456> Date: 星期四, 02 九月 2021 10:39:34 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/zzj' into zzj --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/CommonEventDirectReportDTO.java | 47 +++++++++++++++++++++++++---------------------- 1 files changed, 25 insertions(+), 22 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/CommonEventDirectReportDTO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/CommonEventDirectReportDTO.java index a5d2de4..dfe1cbe 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/CommonEventDirectReportDTO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/CommonEventDirectReportDTO.java @@ -1,14 +1,17 @@ package com.panzhihua.common.model.dtos.grid; -import com.fasterxml.jackson.annotation.JsonFormat; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import lombok.Data; -import org.hibernate.validator.constraints.Length; +import java.util.Date; import javax.validation.constraints.Max; import javax.validation.constraints.NotNull; -import java.util.Date; + +import org.hibernate.validator.constraints.Length; + +import com.fasterxml.jackson.annotation.JsonFormat; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; /** * 上报社区表单 @@ -17,7 +20,7 @@ * @version 1.0 * @since 1.0 * @date 2021-05-26 - * */ + */ @Data @ApiModel("上报社区请求参数") public class CommonEventDirectReportDTO { @@ -26,14 +29,14 @@ @ApiModelProperty(value = "事件ID", hidden = false, example = "1") private Long eventId; - @Length(max=255) - @ApiModelProperty(value = "办理意见", hidden = false, example = "",required = true) + @Length(max = 255) + @ApiModelProperty(value = "办理意见", hidden = false, example = "", required = true) @NotNull(message = "办理意见不能为空") private String processResult; - //事件下游机构或网格员 + // 事件下游机构或网格员 @Max(9223372036854775807L) - @ApiModelProperty(value = "社区ID", hidden = false, example = "1",required = true) + @ApiModelProperty(value = "社区ID", hidden = false, example = "1", required = true) @NotNull(message = "社区ID不能为空") private Long toId; @@ -42,10 +45,9 @@ @ApiModelProperty(value = "(当前操作)用户姓名", hidden = true, example = "张三") private String userName; - + @ApiModelProperty(value = "(当前操作)用户社区ID", hidden = true, example = "1") private Long communityId; - @Max(127) @ApiModelProperty(value = "事件分类:1治安隐患、2公共服务、3矛盾纠纷、4不稳定因素、5突发事件", hidden = false, example = "1", required = true) @@ -57,16 +59,16 @@ @NotNull(message = "发生时间不能为空") private Date happenTime; - @Length(max=255) + @Length(max = 255) @ApiModelProperty(value = "发生的精度纬度信息(逗号隔开)", hidden = false, example = "41.40338,2.17403", required = true) @NotNull(message = "发生的精度纬度信息不能为空") private String happentLatLng; - @Length(max=255) + @Length(max = 255) @ApiModelProperty(value = "发生地点-位置备注", hidden = false, example = "") private String happentAddress; - @Length(max=255) + @Length(max = 255) @ApiModelProperty(value = "事件发生地点", hidden = false, example = "", required = true) private String happenAddress; @@ -75,13 +77,12 @@ @NotNull(message = "发生区域-网格ID不能为空") private Long gridId; - - @Length(max=500) + @Length(max = 500) @ApiModelProperty(value = "事件描述", hidden = false, example = "", required = true) @NotNull(message = "事件描述不能为空") private String eventDes; - @Length(max=255) + @Length(max = 255) @ApiModelProperty(value = "事件类型,逗号隔开", hidden = false, example = "邻里纠纷,土地承包租赁", required = true) @NotNull(message = "事件类型不能为空") private String eventClazz; @@ -109,20 +110,22 @@ @NotNull(message = "是否重大不能为空") private Boolean major; - @ApiModelProperty(value = "音频(限1个)", hidden = false, example = "http://image.panzhihua.nhys.cdnhxx.com/idcard/8f77d43e8bce47d38b63e2a8ceb0a7c6.mp3") + @ApiModelProperty(value = "音频(限1个)", hidden = false, + example = "http://image.panzhihua.nhys.cdnhxx.com/idcard/8f77d43e8bce47d38b63e2a8ceb0a7c6.mp3") private String audio; @ApiModelProperty(value = "音频时长(单位:秒)", hidden = false, example = "10") private Integer audioTime; - @ApiModelProperty(value = "视频(限1个)", hidden = false, example = "http://image.panzhihua.nhys.cdnhxx.com/idcard/8f77d43e8bce47d38b63e2a8ceb0a7c6.mp4") + @ApiModelProperty(value = "视频(限1个)", hidden = false, + example = "http://image.panzhihua.nhys.cdnhxx.com/idcard/8f77d43e8bce47d38b63e2a8ceb0a7c6.mp4") private String video; @ApiModelProperty(value = "视频时长(单位:秒)", hidden = false, example = "10") private Integer videoTime; @ApiModelProperty(value = "图片,逗号隔开(限9张)", hidden = false, - example = "http://image.panzhihua.nhys.cdnhxx.com/idcard/8f77d43e8bce47d38b63e2a8ceb0a7c6.jpg,http://image.panzhihua.nhys.cdnhxx.com/idcard/8f77d43e8bce47d38b63e2a8ceb0a7c6.jpg") + example = "http://image.panzhihua.nhys.cdnhxx.com/idcard/8f77d43e8bce47d38b63e2a8ceb0a7c6.jpg,http://image.panzhihua.nhys.cdnhxx.com/idcard/8f77d43e8bce47d38b63e2a8ceb0a7c6.jpg") private String pics; @ApiModelProperty(value = "(当前操作)用户电话", hidden = true, example = "18888888888") -- Gitblit v1.7.1