12 changed files with 323 additions and 5 deletions
			
			
		| @ -0,0 +1,32 @@ | |||
| package com.epmet.resi.group.dto.topic.form; | |||
| 
 | |||
| import lombok.Data; | |||
| 
 | |||
| import javax.validation.constraints.Min; | |||
| import javax.validation.constraints.NotBlank; | |||
| import javax.validation.constraints.NotNull; | |||
| import java.io.Serializable; | |||
| 
 | |||
| /** | |||
|  * @Author zxc | |||
|  * @DateTime 2021/4/28 上午10:43 | |||
|  * @DESC | |||
|  */ | |||
| @Data | |||
| public class AllMessagesFormDTO implements Serializable { | |||
| 
 | |||
|     private static final long serialVersionUID = -2658793886922936733L; | |||
| 
 | |||
|     public interface AllMessagesForm{} | |||
| 
 | |||
|     @NotBlank(message = "小组ID不能为空",groups = AllMessagesForm.class) | |||
|     private String groupId; | |||
| 
 | |||
|     @NotNull(message = "pageNo不能为空",groups = AllMessagesForm.class) | |||
|     private Integer pageNo; | |||
| 
 | |||
|     @NotNull(message = "pageSize不能为空",groups = AllMessagesForm.class) | |||
|     private Integer pageSize; | |||
| 
 | |||
|     private String customerId; | |||
| } | |||
| @ -0,0 +1,78 @@ | |||
| package com.epmet.resi.group.dto.topic.result; | |||
| 
 | |||
| import lombok.Data; | |||
| 
 | |||
| import java.io.Serializable; | |||
| import java.util.ArrayList; | |||
| import java.util.List; | |||
| 
 | |||
| /** | |||
|  * @Author zxc | |||
|  * @DateTime 2021/4/28 上午10:51 | |||
|  * @DESC | |||
|  */ | |||
| @Data | |||
| public class AllMessagesResultDTO implements Serializable { | |||
| 
 | |||
|     private static final long serialVersionUID = -4123381714064953276L; | |||
| 
 | |||
|     /** | |||
|      * 话题、通知、活动Id | |||
|      */ | |||
|     private String id; | |||
| 
 | |||
|     /** | |||
|      * 发布者的全称(街道-姓氏先生/女士)【专项组显示真实名】 | |||
|      */ | |||
|     private String userNickName; | |||
| 
 | |||
|     /** | |||
|      * 发布者的头像Url | |||
|      */ | |||
|     private String userHeadPhoto; | |||
| 
 | |||
|     /** | |||
|      * 发布时间yyyy-MM-dd | |||
|      */ | |||
|     private String releaseTime; | |||
| 
 | |||
|     /** | |||
|      * 内容 | |||
|      */ | |||
|     private String content; | |||
| 
 | |||
|     /** | |||
|      * 话题状态(discussing进行中、closed已关闭) | |||
|      */ | |||
|     private String status; | |||
| 
 | |||
|     /** | |||
|      * 数据类型(topic:话题 notice:通知 act:活动) | |||
|      */ | |||
|     private String contentType; | |||
| 
 | |||
|     /** | |||
|      * 徽章Url集合 | |||
|      */ | |||
|     private List<String> badgeList = new ArrayList<>(); | |||
| 
 | |||
|     /** | |||
|      * 通知是否过期(true:是  false:否) | |||
|      */ | |||
|     private Boolean isExpirat; | |||
| 
 | |||
|     /** | |||
|      * 是否变更,yes,no | |||
|      */ | |||
|     private String isChange = "no"; | |||
| 
 | |||
|     /** | |||
|      * 发布者ID | |||
|      */ | |||
|     private String userId; | |||
| 
 | |||
|     /** | |||
|      * 第一张图 | |||
|      */ | |||
|     private String firstPhoto; | |||
| } | |||
					Loading…
					
					
				
		Reference in new issue