2026-06-30 24681c81c09022f584a57006f2534b5f74723414
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
package cn.iocoder.yudao.module.im.controller.admin.group.vo;
 
import cn.iocoder.yudao.module.im.controller.admin.message.vo.group.ImGroupMessageRespVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
 
import java.time.LocalDateTime;
import java.util.List;
 
@Schema(description = "管理后台 - 群 Response VO")
@Data
public class ImGroupRespVO {
 
    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1003")
    private Long id;
 
    @Schema(description = "群名称", example = "芋艿")
    private String name;
 
    @Schema(description = "群主用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "31460")
    private Long ownerUserId;
 
    @Schema(description = "群头像")
    private String avatar;
 
    @Schema(description = "群公告")
    private String notice;
 
    @Schema(description = "是否封禁")
    private Boolean banned;
 
    @Schema(description = "是否全群禁言")
    private Boolean mutedAll;
 
    @Schema(description = "进群是否需群主 / 管理员审批", example = "false")
    private Boolean joinApproval;
 
    @Schema(description = "封禁时间")
    private LocalDateTime bannedTime;
 
    @Schema(description = "群状态", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer status;
 
    @Schema(description = "解散时间")
    private LocalDateTime dissolvedTime;
 
    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime createTime;
 
    @Schema(description = "当前登录用户在该群的成员状态:在群 / 已退群(历史退群群仍返回,供前端展示离线消息的群名 / 头像)")
    private Integer joinStatus; // 参见 CommonStatusEnum 枚举
 
    @Schema(description = "当前登录用户对该群的备注")
    private String groupRemark;
 
    @Schema(description = "当前登录用户是否免打扰")
    private Boolean silent;
 
    @Schema(description = "群置顶消息列表,按 pin 顺序(最先置顶的在前);非该群有效成员时为空")
    private List<ImGroupMessageRespVO> pinnedMessages;
 
}