forked from luyan/epmet-cloud-lingshan
				
			
				 8 changed files with 180 additions and 12 deletions
			
			
		@ -0,0 +1,33 @@ | 
				
			|||
package com.epmet.resi.group.dto.notice.form; | 
				
			|||
 | 
				
			|||
import lombok.Data; | 
				
			|||
 | 
				
			|||
import javax.validation.constraints.Min; | 
				
			|||
import javax.validation.constraints.NotBlank; | 
				
			|||
import java.io.Serializable; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * @Author sun | 
				
			|||
 * @Description 通知评论列表查询-接口入参 | 
				
			|||
 */ | 
				
			|||
@Data | 
				
			|||
public class NoticeCommentListFormDTO implements Serializable { | 
				
			|||
 | 
				
			|||
    private static final long serialVersionUID = 1L; | 
				
			|||
    /** | 
				
			|||
     * 通知Id | 
				
			|||
     */ | 
				
			|||
    @NotBlank(message = "通知Id不能为空",groups = {NoticeCommentListFormDTO.CommentList.class}) | 
				
			|||
    private String noticeId; | 
				
			|||
    /** | 
				
			|||
     * 请求页码 | 
				
			|||
     * */ | 
				
			|||
    @Min(1) | 
				
			|||
    private int pageNo; | 
				
			|||
    /** | 
				
			|||
     * 每页多少条数据 | 
				
			|||
     * */ | 
				
			|||
    private int pageSize = 20; | 
				
			|||
 | 
				
			|||
    public interface CommentList{} | 
				
			|||
} | 
				
			|||
@ -0,0 +1,44 @@ | 
				
			|||
package com.epmet.resi.group.dto.notice.result; | 
				
			|||
 | 
				
			|||
import com.alibaba.fastjson.annotation.JSONField; | 
				
			|||
import lombok.Data; | 
				
			|||
 | 
				
			|||
import java.io.Serializable; | 
				
			|||
import java.util.Date; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * @Author sun | 
				
			|||
 * @Description 通知评论列表查询-接口返参 | 
				
			|||
 */ | 
				
			|||
@Data | 
				
			|||
public class NoticeCommentListResultDTO implements Serializable { | 
				
			|||
 | 
				
			|||
    private static final long serialVersionUID = 1L; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 评论Id | 
				
			|||
     * */ | 
				
			|||
    private String noticeCommentId; | 
				
			|||
    /** | 
				
			|||
     * 评论内容 | 
				
			|||
     * */ | 
				
			|||
    private String commentContent; | 
				
			|||
    /** | 
				
			|||
     * 评论者头像 | 
				
			|||
     * */ | 
				
			|||
    private String commentUserHeadPhoto; | 
				
			|||
    /** | 
				
			|||
     * 评论者姓名 | 
				
			|||
     * */ | 
				
			|||
    private String commentUserName; | 
				
			|||
    /** | 
				
			|||
     * 评论时间 yyyy-MM-dd HH:mm | 
				
			|||
     * */ | 
				
			|||
    @JSONField(format="yyyy-MM-dd HH:mm") | 
				
			|||
    private Date commentTime; | 
				
			|||
    /** | 
				
			|||
     * 用户Id 评论者Id | 
				
			|||
     * */ | 
				
			|||
    private String userId; | 
				
			|||
 | 
				
			|||
} | 
				
			|||
					Loading…
					
					
				
		Reference in new issue