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; }