| | |
| | | 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; |
| | | |
| | | /** |
| | | * 上报社区表单 |
| | |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | */ |
| | | @Data |
| | | @ApiModel("上报社区请求参数") |
| | | public class CommonEventDirectReportDTO { |
| | |
| | | @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; |
| | | |
| | |
| | | |
| | | @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) |
| | |
| | | @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; |
| | | |
| | |
| | | @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; |
| | |
| | | @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") |