update 发送消息
This commit is contained in:
+4
@@ -3,6 +3,7 @@ package com.jero.modules.system.model;
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.jero.common.aspect.annotation.Dict;
|
||||
import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
@@ -30,10 +31,12 @@ public class AnnouncementSendModel implements Serializable {
|
||||
/**内容*/
|
||||
private java.lang.String msgContent;
|
||||
/**发布人*/
|
||||
@Dict(dictTable = "sys_user", dicCode = "id", dicText = "realname")
|
||||
private java.lang.String sender;
|
||||
/**优先级(L低,M中,H高)*/
|
||||
private java.lang.String priority;
|
||||
/**阅读状态*/
|
||||
@Dict(dicCode = "read_flag")
|
||||
private java.lang.String readFlag;
|
||||
/**发布时间*/
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@@ -46,6 +49,7 @@ public class AnnouncementSendModel implements Serializable {
|
||||
/**
|
||||
* 消息类型1:通知公告2:系统消息
|
||||
*/
|
||||
@Dict(dicCode = "msg_category")
|
||||
private java.lang.String msgCategory;
|
||||
/**
|
||||
* 业务id
|
||||
|
||||
Reference in New Issue
Block a user