14 changed files with 227 additions and 34 deletions
@ -0,0 +1,45 @@ |
|||||
|
package com.elink.esua.epdc.dto.epdc.form; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
import javax.validation.constraints.NotNull; |
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* 移动端我的消息列表 |
||||
|
* |
||||
|
* @author yujintao |
||||
|
* @email yujintao@elink-cn.com |
||||
|
* @date 2019/9/10 15:32 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class EpdcInformationListFormDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 5168417844245777101L; |
||||
|
|
||||
|
/** |
||||
|
* 用户ID |
||||
|
*/ |
||||
|
@NotBlank(message = "用户ID不能为空") |
||||
|
private String userId; |
||||
|
|
||||
|
/** |
||||
|
* 页码 |
||||
|
*/ |
||||
|
@NotNull(message = "页码不能为空") |
||||
|
private Integer pageIndex; |
||||
|
|
||||
|
/** |
||||
|
* 页容量 |
||||
|
*/ |
||||
|
@NotNull(message = "页容量不能为空") |
||||
|
private Integer pageSize; |
||||
|
|
||||
|
/** |
||||
|
* 第一页查询发起时的时间 |
||||
|
*/ |
||||
|
@NotBlank(message = "时间戳不能为空") |
||||
|
private String timestamp; |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,55 @@ |
|||||
|
package com.elink.esua.epdc.dto.epdc.result; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* 移动端用户消息列表用 |
||||
|
* |
||||
|
* @author yujintao |
||||
|
* @email yujintao@elink-cn.com |
||||
|
* @date 2019/9/10 15:41 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class EpdcInformationListResultDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 7751317347739906391L; |
||||
|
|
||||
|
/** |
||||
|
* ID |
||||
|
*/ |
||||
|
private String id; |
||||
|
/** |
||||
|
* 消息内容 |
||||
|
*/ |
||||
|
private String content; |
||||
|
/** |
||||
|
* 时间 |
||||
|
*/ |
||||
|
private String time; |
||||
|
/** |
||||
|
* 标题 |
||||
|
*/ |
||||
|
private String title; |
||||
|
/** |
||||
|
* 我的消息类型:0审核通知;1互动通知;2进度通知;3社群通知 |
||||
|
*/ |
||||
|
private String type; |
||||
|
/** |
||||
|
* 消息所属业务ID |
||||
|
*/ |
||||
|
private String businessId; |
||||
|
/** |
||||
|
* 消息所属业务类型:comment事件评论;reply评论回复;issue议题处理;crowd社群邀请等 |
||||
|
*/ |
||||
|
private String businessType; |
||||
|
/** |
||||
|
* 消息关联业务内容(被回复的评论;被评论的议题等) |
||||
|
*/ |
||||
|
private String relBusinessContent; |
||||
|
/** |
||||
|
* 是否已读 |
||||
|
*/ |
||||
|
private String readFlag; |
||||
|
} |
||||
Loading…
Reference in new issue