liyong
5 小时以前 7a23c450f3ac85de7dca1b908de273ff636ce218
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
package cn.iocoder.yudao.module.im.controller.admin.message.vo.privates;
 
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.time.LocalDateTime;
 
/**
 * 私聊消息 Response VO
 */
@Schema(description = "管理后台 - 私聊消息 Response VO")
@Data
public class ImPrivateMessageRespVO {
 
    @Schema(description = "消息编号", example = "1")
    private Long id;
 
    @Schema(description = "客户端消息编号", example = "uuid-xxx")
    private String clientMessageId;
 
    @Schema(description = "发送人编号", example = "1")
    private Long senderId;
 
    @Schema(description = "接收人编号", example = "2")
    private Long receiverId;
 
    @Schema(description = "消息类型", example = "0")
    private Integer type;
 
    @Schema(description = "消息内容", example = "{\"content\":\"你好\"}")
    private String content;
 
    @Schema(description = "消息状态", example = "0")
    private Integer status; // 参见 ImMessageStatusEnum 枚举类
 
    @Schema(description = "回执状态", example = "0")
    private Integer receiptStatus; // 参见 ImMessageReceiptStatusEnum 枚举类
 
    @Schema(description = "发送时间")
    private LocalDateTime sendTime;
 
}