gaoluyang
3 天以前 0f4aa5957957d9124e88da4490fac60da5324058
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
package cn.iocoder.yudao.module.system.service.notify.dto;
 
import lombok.Data;
 
/**
 * 站内信 WebSocket 实时推送的消息体
 *
 * 前端收到 type = notify-message 的消息后,刷新未读数量和未读列表,无需等待轮询。
 *
 * @author 超级管理员
 */
@Data
public class NotifyMessagePushDTO {
 
    /**
     * 消息类型:站内信
     */
    public static final String MESSAGE_TYPE = "notify-message";
 
    /**
     * 站内信编号
     */
    private Long messageId;
 
    /**
     * 站内信模板编码
     */
    private String templateCode;
 
    /**
     * 站内信发送人名称
     */
    private String templateNickname;
 
    /**
     * 站内信内容(已格式化)
     */
    private String templateContent;
 
}