9 changed files with 438 additions and 0 deletions
@ -0,0 +1,42 @@ |
|||||
|
package com.epmet.dto.form; |
||||
|
|
||||
|
import com.epmet.dto.result.ResiEventIdDTO; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* 选择已解决,未解决?? |
||||
|
* |
||||
|
* @author yinzuomei@elink-cn.com |
||||
|
* @date 2021/8/3 13:53 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class ChooseResolveFormDTO extends ResiEventIdDTO implements Serializable { |
||||
|
private static final long serialVersionUID = 7888566055415227282L; |
||||
|
|
||||
|
|
||||
|
public interface AddUserInternalGroup { |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 是否解决:已解决 resolved,未解决 un_solved |
||||
|
*/ |
||||
|
@NotBlank(message = "resolveStatus不能为空",groups = AddUserInternalGroup.class) |
||||
|
private String resolveStatus; |
||||
|
|
||||
|
|
||||
|
//以下参数从token中获取
|
||||
|
/** |
||||
|
* 当前用户id |
||||
|
*/ |
||||
|
@NotBlank(message = "userId不能为空",groups = AddUserInternalGroup.class) |
||||
|
private String userId; |
||||
|
|
||||
|
/** |
||||
|
* 当前客户id |
||||
|
*/ |
||||
|
@NotBlank(message = "customerId不能为空",groups = AddUserInternalGroup.class) |
||||
|
private String customerId; |
||||
|
} |
@ -0,0 +1,42 @@ |
|||||
|
package com.epmet.dto.form; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* 我的报事列表查询 |
||||
|
* |
||||
|
* @author yinzuomei@elink-cn.com |
||||
|
* @date 2021/8/3 14:07 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class MyReportedFormDTO implements Serializable { |
||||
|
private static final long serialVersionUID = 8426911903236849796L; |
||||
|
|
||||
|
public interface AddUserInternalGroup { |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 未处理:un_read;处理中:processing;已办结:closed_case |
||||
|
*/ |
||||
|
@NotBlank(message = "statusCondition不能为空",groups = AddUserInternalGroup.class) |
||||
|
private String statusCondition; |
||||
|
|
||||
|
private Integer pageNo; |
||||
|
private Integer pageSize; |
||||
|
|
||||
|
//以下参数从token中获取
|
||||
|
/** |
||||
|
* 当前用户id |
||||
|
*/ |
||||
|
@NotBlank(message = "userId不能为空",groups = AddUserInternalGroup.class) |
||||
|
private String userId; |
||||
|
|
||||
|
/** |
||||
|
* 当前客户id |
||||
|
*/ |
||||
|
@NotBlank(message = "customerId不能为空",groups = AddUserInternalGroup.class) |
||||
|
private String customerId; |
||||
|
} |
@ -0,0 +1,34 @@ |
|||||
|
package com.epmet.dto.form; |
||||
|
|
||||
|
import com.epmet.dto.result.ResiEventIdDTO; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* 撤回事件入参 |
||||
|
* |
||||
|
* @author yinzuomei@elink-cn.com |
||||
|
* @date 2021/8/3 11:28 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class ReCallEventFormDTO extends ResiEventIdDTO implements Serializable { |
||||
|
private static final long serialVersionUID = 2127663703852717437L; |
||||
|
|
||||
|
public interface AddUserInternalGroup { |
||||
|
} |
||||
|
|
||||
|
//以下参数从token中获取
|
||||
|
/** |
||||
|
* 当前用户id |
||||
|
*/ |
||||
|
@NotBlank(message = "userId不能为空",groups = AddUserInternalGroup.class) |
||||
|
private String userId; |
||||
|
|
||||
|
/** |
||||
|
* 当前客户id |
||||
|
*/ |
||||
|
@NotBlank(message = "customerId不能为空",groups = AddUserInternalGroup.class) |
||||
|
private String customerId; |
||||
|
} |
@ -0,0 +1,34 @@ |
|||||
|
package com.epmet.dto.form; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* 我要报事-提交(尹) |
||||
|
* |
||||
|
* @author yinzuomei@elink-cn.com |
||||
|
* @date 2021/8/3 10:46 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class ResiEventFormDTO implements Serializable { |
||||
|
private static final long serialVersionUID = -778643059131036832L; |
||||
|
|
||||
|
public interface AddUserInternalGroup { |
||||
|
} |
||||
|
|
||||
|
|
||||
|
//以下参数从token中获取
|
||||
|
/** |
||||
|
* 当前用户id |
||||
|
*/ |
||||
|
@NotBlank(message = "userId不能为空",groups =AddUserInternalGroup.class) |
||||
|
private String userId; |
||||
|
|
||||
|
/** |
||||
|
* 当前客户id |
||||
|
*/ |
||||
|
@NotBlank(message = "customerId不能为空",groups = AddUserInternalGroup.class) |
||||
|
private String customerId; |
||||
|
} |
@ -0,0 +1,55 @@ |
|||||
|
package com.epmet.dto.result; |
||||
|
|
||||
|
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.Date; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* 报事列表 |
||||
|
* |
||||
|
* @author yinzuomei@elink-cn.com |
||||
|
* @date 2021/8/3 14:11 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class MyReportedResultDTO 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; |
||||
|
} |
@ -0,0 +1,24 @@ |
|||||
|
package com.epmet.dto.result; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* 事件id |
||||
|
* |
||||
|
* @author yinzuomei@elink-cn.com |
||||
|
* @date 2021/8/3 10:48 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class ResiEventIdDTO implements Serializable { |
||||
|
private static final long serialVersionUID = 1553798655658549134L; |
||||
|
public interface ResiEventIdGroup { |
||||
|
} |
||||
|
/** |
||||
|
* 居民端报的事件id |
||||
|
*/ |
||||
|
@NotBlank(message = "事件id不能为空",groups = ResiEventIdGroup.class) |
||||
|
private String resiEventId; |
||||
|
} |
Loading…
Reference in new issue