5 changed files with 164 additions and 17 deletions
@ -0,0 +1,44 @@ |
|||
package com.epmet.resi.group.dto.comment.result; |
|||
|
|||
import com.alibaba.fastjson.annotation.JSONField; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* @Description |
|||
* @ClassName GovCommentResultDTO |
|||
* @Auth wangc |
|||
* @Date 2020-04-30 13:07 |
|||
*/ |
|||
@Data |
|||
public class GovCommentResultDTO implements Serializable { |
|||
private static final long serialVersionUID = -6141574797811146831L; |
|||
/** |
|||
* 评论Id |
|||
* */ |
|||
private String commentId; |
|||
|
|||
/** |
|||
* 评论内容 |
|||
* */ |
|||
private String commentContent; |
|||
|
|||
/** |
|||
* 评论者头像 |
|||
* */ |
|||
private String commentUserHeadPhoto; |
|||
|
|||
/** |
|||
* 评论者姓名 |
|||
* */ |
|||
private String commentUserName; |
|||
|
|||
/** |
|||
* 评论时间 yyyy-MM-dd HH:mm |
|||
* */ |
|||
@JSONField(format="yyyy-MM-dd HH:mm") |
|||
private Date commentTime; |
|||
|
|||
} |
@ -0,0 +1,56 @@ |
|||
package com.epmet.resi.group.dto.topic.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Description |
|||
* @ClassName GovTopicInfoResultDTO |
|||
* @Auth wangc |
|||
* @Date 2020-04-30 13:08 |
|||
*/ |
|||
@Data |
|||
public class GovTopicInfoResultDTO implements Serializable { |
|||
private static final long serialVersionUID = -3495808492616727671L; |
|||
|
|||
/** |
|||
* 作者的Id |
|||
* */ |
|||
private String userId; |
|||
|
|||
/** |
|||
* 用户头像 |
|||
* */ |
|||
private String userHeadPhoto; |
|||
|
|||
/** |
|||
* 用户昵称 |
|||
* */ |
|||
private String userNickName; |
|||
|
|||
/** |
|||
* 话题Id |
|||
* */ |
|||
private String topicId; |
|||
|
|||
/** |
|||
* 话题内容 |
|||
* */ |
|||
private String topicContent; |
|||
|
|||
/** |
|||
* 话题发布时间 时间戳 |
|||
* */ |
|||
private Long topicRealseTime; |
|||
|
|||
/** |
|||
* 话题的第一张图片地址 |
|||
* */ |
|||
private String topicFirstPhoto; |
|||
|
|||
/** |
|||
* 话题的状态 |
|||
* */ |
|||
private String topicState; |
|||
} |
Loading…
Reference in new issue