Parcourir la source

查寻老师的群成员列表

zouxuan il y a 2 ans
Parent
commit
65eef73ab8

+ 30 - 0
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/dto/ImGroupResultDto.java

@@ -0,0 +1,30 @@
+package com.yonge.cooleshow.biz.dal.dto;
+
+
+import com.yonge.cooleshow.biz.dal.entity.ImGroup;
+import io.swagger.annotations.ApiModelProperty;
+
+public class ImGroupResultDto extends ImGroup {
+    @ApiModelProperty(value = "是否已经在当前群组")
+    private boolean existFlag;
+
+    @ApiModelProperty(value = "是否有待审核的申请")
+    private boolean hasWaitAuditFlag;
+
+    public boolean isExistFlag() {
+        return existFlag;
+    }
+
+    public void setExistFlag(boolean existFlag) {
+        this.existFlag = existFlag;
+    }
+
+    public boolean isHasWaitAuditFlag() {
+        return hasWaitAuditFlag;
+    }
+
+    public void setHasWaitAuditFlag(boolean hasWaitAuditFlag) {
+        this.hasWaitAuditFlag = hasWaitAuditFlag;
+    }
+}
+

+ 54 - 0
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/dto/ImGroupSearchDto.java

@@ -0,0 +1,54 @@
+package com.yonge.cooleshow.biz.dal.dto;
+
+
+import io.swagger.annotations.ApiModelProperty;
+
+import javax.validation.constraints.NotNull;
+
+public class ImGroupSearchDto {
+    @ApiModelProperty(value = "群类型 FAN 粉丝群,COURSE 课程群")
+    private String type = "FAN";
+
+    @ApiModelProperty(value = "根据群名称、编号、简介模糊查询")
+    private String search;
+
+    @ApiModelProperty(value = "群成员")
+    private Long userId;
+
+    @NotNull(message = "请指定群管理员")
+    @ApiModelProperty(value = "创建人(群创建者)")
+    private Long createUserId;
+
+    public String getType() {
+        return type;
+    }
+
+    public void setType(String type) {
+        this.type = type;
+    }
+
+    public Long getCreateUserId() {
+        return createUserId;
+    }
+
+    public void setCreateUserId(Long createUserId) {
+        this.createUserId = createUserId;
+    }
+
+    public String getSearch() {
+        return search;
+    }
+
+    public void setSearch(String search) {
+        this.search = search;
+    }
+
+    public Long getUserId() {
+        return userId;
+    }
+
+    public void setUserId(Long userId) {
+        this.userId = userId;
+    }
+}
+