6 changed files with 187 additions and 1 deletions
@ -0,0 +1,43 @@ |
|||||
|
package com.epmet.dto; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2021/8/3 1:38 下午 |
||||
|
* @DESC |
||||
|
*/ |
||||
|
@Data |
||||
|
public class EventProjectInfoDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 5622220354099001615L; |
||||
|
|
||||
|
/** |
||||
|
* 项目ID |
||||
|
*/ |
||||
|
private String projectId; |
||||
|
|
||||
|
/** |
||||
|
* 操作人【xxx社区-张三】 |
||||
|
*/ |
||||
|
private String operationName; |
||||
|
|
||||
|
/** |
||||
|
* 操作时间 |
||||
|
*/ |
||||
|
private String operationTime; |
||||
|
|
||||
|
/** |
||||
|
* 报事说明 |
||||
|
*/ |
||||
|
private String projectDeclare; |
||||
|
|
||||
|
public EventProjectInfoDTO() { |
||||
|
this.projectId = ""; |
||||
|
this.operationName = ""; |
||||
|
this.operationTime = ""; |
||||
|
this.projectDeclare = ""; |
||||
|
} |
||||
|
} |
@ -0,0 +1,22 @@ |
|||||
|
package com.epmet.dto.form; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2021/8/3 1:27 下午 |
||||
|
* @DESC |
||||
|
*/ |
||||
|
@Data |
||||
|
public class EventDetailFormDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = -297495947153154171L; |
||||
|
|
||||
|
public interface EventDetailForm{} |
||||
|
|
||||
|
@NotBlank(message = "报事ID不能为空",groups = EventDetailForm.class) |
||||
|
private String eventId; |
||||
|
} |
@ -0,0 +1,82 @@ |
|||||
|
package com.epmet.dto.result; |
||||
|
|
||||
|
import com.epmet.dto.EventProjectInfoDTO; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.ArrayList; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2021/8/3 1:30 下午 |
||||
|
* @DESC |
||||
|
*/ |
||||
|
@Data |
||||
|
public class EventDetailResultDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 3905105043326445613L; |
||||
|
|
||||
|
/** |
||||
|
* 报事时间 |
||||
|
*/ |
||||
|
private String eventTime; |
||||
|
|
||||
|
/** |
||||
|
* 报事内容 |
||||
|
*/ |
||||
|
private String eventContent; |
||||
|
|
||||
|
/** |
||||
|
* 报事地址 |
||||
|
*/ |
||||
|
private String eventAddress; |
||||
|
|
||||
|
/** |
||||
|
* 所属网格【xx社区-xx网格】 |
||||
|
*/ |
||||
|
private String gridName; |
||||
|
|
||||
|
/** |
||||
|
* 是否办结【是:true,否:false】 |
||||
|
*/ |
||||
|
private Boolean isClosed; |
||||
|
|
||||
|
/** |
||||
|
* 是否解决【是:true,否:false】 |
||||
|
*/ |
||||
|
private Boolean isResolve; |
||||
|
|
||||
|
/** |
||||
|
* 是否可以撤回【true:是,false:否】 |
||||
|
*/ |
||||
|
private Boolean isRollback; |
||||
|
|
||||
|
/** |
||||
|
* 报事图片 |
||||
|
*/ |
||||
|
private List<String> eventImgs; |
||||
|
|
||||
|
/** |
||||
|
* 报事提到的人 |
||||
|
*/ |
||||
|
private List<String> eventPerson; |
||||
|
|
||||
|
/** |
||||
|
* 项目信息 |
||||
|
*/ |
||||
|
private EventProjectInfoDTO projectInfo; |
||||
|
|
||||
|
public EventDetailResultDTO() { |
||||
|
this.eventTime = ""; |
||||
|
this.eventContent = ""; |
||||
|
this.eventAddress = ""; |
||||
|
this.gridName = ""; |
||||
|
this.isClosed = false; |
||||
|
this.isResolve = false; |
||||
|
this.isRollback = false; |
||||
|
this.eventImgs = new ArrayList<>(); |
||||
|
this.eventPerson = new ArrayList<>(); |
||||
|
this.projectInfo = new EventProjectInfoDTO(); |
||||
|
} |
||||
|
} |
Loading…
Reference in new issue