12 changed files with 268 additions and 9 deletions
@ -0,0 +1,31 @@ |
|||
package com.elink.esua.epdc.dto.group.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import javax.validation.constraints.NotNull; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* |
|||
* 我的群FormDTO |
|||
* |
|||
* @Author:liuchuang |
|||
* @Date:2019/10/21 17:06 |
|||
*/ |
|||
@Data |
|||
public class GroupsOfMineFormDTO implements Serializable { |
|||
private static final long serialVersionUID = 6427160357602633892L; |
|||
|
|||
/** |
|||
* 用户ID |
|||
*/ |
|||
@NotBlank(message = "用户ID不能为空") |
|||
private String userId; |
|||
|
|||
/** |
|||
* 网格ID |
|||
*/ |
|||
@NotNull(message = "网格ID不能为空") |
|||
private Long gridId; |
|||
} |
@ -0,0 +1,68 @@ |
|||
package com.elink.esua.epdc.dto.group.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* |
|||
* 我的群列表DTO |
|||
* |
|||
* @Author:liuchuang |
|||
* @Date:2019/10/21 17:00 |
|||
*/ |
|||
@Data |
|||
public class GroupsOfMineResultDTO implements Serializable { |
|||
private static final long serialVersionUID = 346523775154631726L; |
|||
|
|||
/** |
|||
* 社群ID |
|||
*/ |
|||
private String id; |
|||
|
|||
/** |
|||
* 社群名称 |
|||
*/ |
|||
private String groupName; |
|||
|
|||
/** |
|||
* 社群头像 |
|||
*/ |
|||
private String groupAvatar; |
|||
|
|||
/** |
|||
* 总人数 |
|||
*/ |
|||
private Integer totalNum; |
|||
|
|||
/** |
|||
* 党员人数 |
|||
*/ |
|||
private Integer partyMemberNum; |
|||
|
|||
/** |
|||
* 未读话题数量 |
|||
*/ |
|||
private Integer unreadTopicNum; |
|||
|
|||
/** |
|||
* 最新一条话题发布时间(yyyy-MM-dd HH:mm) |
|||
*/ |
|||
private Date latestTopicTime; |
|||
|
|||
/** |
|||
* 社群类别(0:党员群,1:自建群) |
|||
*/ |
|||
private String groupCategory; |
|||
|
|||
/** |
|||
* 社群状态(0:待审核,5:审核不通过,10:审核通过,15:禁言) |
|||
*/ |
|||
private Integer state; |
|||
|
|||
/** |
|||
* 群名称下方的描述 |
|||
*/ |
|||
private String description; |
|||
} |
Loading…
Reference in new issue