Browse Source
# Conflicts: # epmet-module/epmet-heart/epmet-heart-server/src/main/java/com/epmet/service/impl/VolunteerInfoServiceImpl.javadev
11 changed files with 263 additions and 16 deletions
@ -0,0 +1,41 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.Min; |
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author sun |
|||
* @Description 【事件】(未处理、处理中、已办结)地图、列表 |
|||
**/ |
|||
@Data |
|||
public class ResiEventLsitFormDTO implements Serializable { |
|||
/** |
|||
* 网格Id |
|||
*/ |
|||
@NotBlank(message = "网格Id不能为空",groups = Event.class) |
|||
private String gridId; |
|||
/** |
|||
* 未处理:un_read;处理中:processing;已办结:closed_case |
|||
*/ |
|||
@NotBlank(message = "statusCondition不能为空",groups = Event.class) |
|||
private String statusCondition; |
|||
/** |
|||
* 请求页码 |
|||
* */ |
|||
@Min(1) |
|||
private int pageNo = 1; |
|||
/** |
|||
* 每页多少条数据 |
|||
* */ |
|||
private int pageSize = 20; |
|||
/** |
|||
* 是否分页(是:true 否:false) |
|||
* */ |
|||
private Boolean isPage = true; |
|||
|
|||
public interface Event {} |
|||
|
|||
} |
@ -0,0 +1,85 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Author sun |
|||
* @Description 【事件】(未处理、处理中、已办结)地图、列表 |
|||
**/ |
|||
@Data |
|||
public class ResiEventListResultDTO implements Serializable { |
|||
private static final long serialVersionUID = -7372245830000262134L; |
|||
|
|||
/** |
|||
* 事件id |
|||
*/ |
|||
private String resiEventId; |
|||
/** |
|||
* 事件内容 |
|||
*/ |
|||
private String eventContent; |
|||
/** |
|||
* 图片列表,可为空 |
|||
*/ |
|||
private List<String> imgList; |
|||
/** |
|||
* true展示;false不展示 |
|||
*/ |
|||
private Boolean redDot; |
|||
/** |
|||
* 处理中:processing;已办结:closed_case |
|||
*/ |
|||
private String status; |
|||
/** |
|||
* true:已转项目;false:未立项 |
|||
*/ |
|||
private Boolean shiftProject; |
|||
/** |
|||
* 列表显示时间用此列:yyyy-MM-dd HH:mm:ss;处理中:上报事件时间,处理中:最新一次处理事件;已办结:办结时间 |
|||
*/ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8") |
|||
private Date showTime; |
|||
/** |
|||
* true:显示回复;false:不显示回复按钮 |
|||
*/ |
|||
private String replyButtonFlag; |
|||
/** |
|||
* 事件是否被阅读过;1已读;针对报事人待处理列表 |
|||
*/ |
|||
private Boolean readFlag; |
|||
/** |
|||
* 语音附件url集合 |
|||
*/ |
|||
private List<String> voiceList; |
|||
/** |
|||
* 经度 |
|||
*/ |
|||
private String longitude; |
|||
/** |
|||
* 纬度 |
|||
*/ |
|||
private String latitude; |
|||
/** |
|||
* 事件附件 |
|||
*/ |
|||
@JsonIgnore |
|||
private List<EventDetailResultDTO.Attachment> attachmentList; |
|||
|
|||
@Data |
|||
public static class Attachment { |
|||
/** |
|||
* url |
|||
*/ |
|||
private String url; |
|||
/** |
|||
* 附件类型 |
|||
*/ |
|||
private String type; |
|||
} |
|||
} |
Loading…
Reference in new issue