package cn.iocoder.yudao.module.im.controller.admin.manager.group.vo;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
|
import java.time.LocalDateTime;
|
|
@Schema(description = "管理后台 - IM 加群申请 Response VO")
|
@Data
|
public class ImGroupRequestManagerRespVO {
|
|
@Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
|
private Long id;
|
|
@Schema(description = "群编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
|
private Long groupId;
|
|
@Schema(description = "群名称", example = "芋道技术交流群")
|
private String groupName;
|
|
@Schema(description = "申请人 / 被邀请人用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "100")
|
private Long userId;
|
|
@Schema(description = "申请人 / 被邀请人昵称", example = "张三")
|
private String userNickname;
|
|
@Schema(description = "邀请人用户编号;NULL 表示用户主动申请", example = "200")
|
private Long inviterUserId;
|
|
@Schema(description = "邀请人昵称", example = "老张")
|
private String inviterNickname;
|
|
@Schema(description = "申请理由", example = "我想加入这个群")
|
private String applyContent;
|
|
@Schema(description = "加入来源", example = "1")
|
private Integer addSource; // 参见 ImGroupAddSourceEnum 枚举类
|
|
@Schema(description = "处理结果", requiredMode = Schema.RequiredMode.REQUIRED, example = "0")
|
private Integer handleResult; // 参见 ImGroupRequestHandleResultEnum 枚举类
|
|
@Schema(description = "处理人用户编号", example = "31460")
|
private Long handleUserId;
|
|
@Schema(description = "处理人昵称", example = "管理员")
|
private String handleNickname;
|
|
@Schema(description = "处理理由", example = "暂不通过")
|
private String handleContent;
|
|
@Schema(description = "处理时间")
|
private LocalDateTime handleTime;
|
|
@Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
|
private LocalDateTime createTime;
|
|
}
|