15 changed files with 431 additions and 10 deletions
@ -0,0 +1,35 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import com.epmet.commons.tools.dto.form.PageFormDTO; |
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 居民端小程序,我上报的事件 列表入参 |
|||
*/ |
|||
@Data |
|||
public class MyReportIcEvFormDTO extends PageFormDTO implements Serializable { |
|||
//以下参数前端传入
|
|||
@NotBlank(message = "处理中:processing;已办结:closed_case", groups = PageFormDTO.AddUserInternalGroup.class) |
|||
private String status; |
|||
/** |
|||
* 暂时两端不打通,先不要求传身份证了 |
|||
*/ |
|||
// private String idCard;
|
|||
|
|||
//以下参数从token中获取
|
|||
@NotBlank(message = "customerId不能为空", groups = PageFormDTO.AddUserInternalGroup.class) |
|||
private String customerId; |
|||
@NotBlank(message = "userId不能为空", groups = PageFormDTO.AddUserInternalGroup.class) |
|||
private String userId; |
|||
private String icEventId; |
|||
|
|||
public interface ReplyListGroup { |
|||
} |
|||
public interface RemoveRedGroup { |
|||
} |
|||
@NotBlank(message = "事件id不能为空", groups = {ReplyListGroup.class,RemoveRedGroup.class}) |
|||
private String icEventId; |
|||
} |
|||
@ -0,0 +1,36 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import com.epmet.commons.tools.dto.form.PageFormDTO; |
|||
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 居民端我上报的事件回复 |
|||
* ic_event |
|||
*/ |
|||
@Data |
|||
public class ResiReplyIcEventFormDTO implements Serializable { |
|||
public interface AddUserInternalGroup { |
|||
} |
|||
|
|||
public interface AddUserShowGroup extends CustomerClientShowGroup { |
|||
} |
|||
|
|||
@NotBlank(message = "事件id不能为空", groups = {AddUserInternalGroup.class}) |
|||
private String icEventId; |
|||
|
|||
@NotBlank(message = "内容不能为空", groups = AddUserShowGroup.class) |
|||
@Length(max = 200, message = "内容最多输入200字", groups = AddUserShowGroup.class) |
|||
private String content; |
|||
|
|||
|
|||
//以下参数从token中获取
|
|||
@NotBlank(message = "customerId不能为空", groups = AddUserInternalGroup.class) |
|||
private String customerId; |
|||
@NotBlank(message = "userId不能为空", groups = AddUserInternalGroup.class) |
|||
private String userId; |
|||
} |
|||
@ -0,0 +1,88 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import com.epmet.dto.IcEventAttachmentDTO; |
|||
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; |
|||
|
|||
|
|||
/** |
|||
* 居民端我上报的事件列表+详情 |
|||
*/ |
|||
@Data |
|||
public class MyReportIcEvResDTO implements Serializable { |
|||
/** |
|||
* 事件Id |
|||
*/ |
|||
private String icEventId; |
|||
|
|||
/** |
|||
* 事件内容 |
|||
*/ |
|||
private String eventContent; |
|||
|
|||
/** |
|||
* 发生时间 |
|||
*/ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
|||
private Date happenTime; |
|||
|
|||
/** |
|||
* 图片[url集合] |
|||
*/ |
|||
private List<String> imageList; |
|||
/** |
|||
* 音频[url集合] |
|||
*/ |
|||
private List<String> voiceList; |
|||
|
|||
/** |
|||
* 地址 |
|||
*/ |
|||
private String address; |
|||
|
|||
/** |
|||
* 报事人的红点:展示1;不展示:0;人大代表回复,工作人员回复/立项/转需求/办结更新为1; |
|||
*/ |
|||
private Boolean redDot; |
|||
|
|||
/** |
|||
* true:可以回复 |
|||
* false:不可以回复 |
|||
* todo |
|||
*/ |
|||
private Boolean replyFlag; |
|||
|
|||
/** |
|||
* 状态【处理中:processing;已办结:closed_case】】 |
|||
*/ |
|||
private String status; |
|||
/** |
|||
* 状态【处理中:processing;已办结:closed_case】】 |
|||
*/ |
|||
private String statusName; |
|||
/** |
|||
* 0:已回复 1:已转项目 1:已转需求 |
|||
*/ |
|||
private String operationType; |
|||
/** |
|||
* 项目、需求ID |
|||
*/ |
|||
private String operationId; |
|||
|
|||
/** |
|||
* 最近一次操作时间(回复、立项、转需求、办结更新此列) |
|||
*/ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
|||
private Date latestOperatedTime; |
|||
|
|||
/** |
|||
* 事件附件 |
|||
*/ |
|||
@JsonIgnore |
|||
private List<IcEventAttachmentDTO> attachmentList; |
|||
} |
|||
Loading…
Reference in new issue