forked from luyan/epmet-cloud-lingshan
				
			
				 8 changed files with 248 additions and 0 deletions
			
			
		| @ -0,0 +1,24 @@ | |||
| package com.epmet.resi.group.dto.notice.form; | |||
| 
 | |||
| import lombok.Data; | |||
| 
 | |||
| import javax.validation.constraints.NotBlank; | |||
| import java.io.Serializable; | |||
| 
 | |||
| /** | |||
|  * @Author zxc | |||
|  * @DateTime 2021/4/21 下午4:17 | |||
|  * @DESC | |||
|  */ | |||
| @Data | |||
| public class UnReadListFormDTO implements Serializable { | |||
| 
 | |||
|     private static final long serialVersionUID = 2312033892813352767L; | |||
| 
 | |||
|     public interface UnReadListForm{} | |||
| 
 | |||
|     @NotBlank(message = "小组ID不能为空",groups = UnReadListForm.class) | |||
|     private String groupId; | |||
| 
 | |||
|     private String userId; | |||
| } | |||
| @ -0,0 +1,55 @@ | |||
| package com.epmet.resi.group.dto.notice.result; | |||
| 
 | |||
| import com.fasterxml.jackson.annotation.JsonIgnore; | |||
| import lombok.Data; | |||
| 
 | |||
| import java.io.Serializable; | |||
| 
 | |||
| /** | |||
|  * @Author zxc | |||
|  * @DateTime 2021/4/21 下午4:21 | |||
|  * @DESC | |||
|  */ | |||
| @Data | |||
| public class UnReadListResultDTO implements Serializable { | |||
| 
 | |||
|     private static final long serialVersionUID = -2614612434488988741L; | |||
| 
 | |||
|     /** | |||
|      * 话题、通知、活动Id | |||
|      */ | |||
|     private String id; | |||
| 
 | |||
|     /** | |||
|      * 发布者的全称(街道-姓氏先生/女士)【专项组显示真实名】 | |||
|      */ | |||
|     private String releaseUserName; | |||
| 
 | |||
|     /** | |||
|      * 话题发布者的头像Url | |||
|      */ | |||
|     private String releaseUserHeadPhoto; | |||
| 
 | |||
|     /** | |||
|      * 发布时间yyyy-MM-dd HH:mm | |||
|      */ | |||
|     private String releaseTime; | |||
| 
 | |||
|     /** | |||
|      * 内容 | |||
|      */ | |||
|     private String content; | |||
| 
 | |||
|     /** | |||
|      * 如果有图片,后台只返回第一张,没有图片此列为空 | |||
|      */ | |||
|     private String firstPhoto; | |||
| 
 | |||
|     /** | |||
|      * 数据类型(topic:话题 notice:通知 act:活动) | |||
|      */ | |||
|     private String contentType; | |||
| 
 | |||
|     @JsonIgnore | |||
|     private String userId; | |||
| } | |||
					Loading…
					
					
				
		Reference in new issue