package com.ruoyi.tms.domain;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import java.util.Date;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.ruoyi.common.annotation.Excel;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
import java.util.Date;
|
|
import lombok.Data;
|
|
/**
|
* 消息通知对象 tms_message_notify
|
*
|
* @author ruoyi
|
* @date 2025-11-26
|
*/
|
@Data
|
public class TmsMessageNotify {
|
|
|
/**
|
* 主键ID
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
|
|
/**
|
* 消息标题
|
*/
|
@Excel(name = "消息标题")
|
@TableField("title")
|
private String title;
|
|
|
/**
|
* 消息内容
|
*/
|
@Excel(name = "消息内容")
|
@TableField("content")
|
private String content;
|
|
|
/**
|
* 消息类型:0系统通知 1业务通知 2告警 3营销
|
*/
|
@Excel(name = "消息类型:0系统通知 1业务通知 2告警 3营销")
|
@TableField("type")
|
private Integer type;
|
|
|
/**
|
* 接收用户ID(NULL=全体)
|
*/
|
@Excel(name = "接收用户ID", readConverterExp = "NULL=NULL=全体")
|
@TableField("target_uid")
|
private Integer targetUid;
|
|
|
/**
|
* 发送状态:0待发送 1成功 2失败
|
*/
|
@Excel(name = "发送状态:0待发送 1成功 2失败")
|
@TableField("status")
|
private Integer status;
|
|
|
/**
|
* 阅读状态:0未读 1已读
|
*/
|
@Excel(name = "阅读状态:0未读 1已读")
|
@TableField("read_status")
|
private Integer readStatus;
|
|
|
/**
|
* 读取时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@Excel(name = "读取时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
@TableField("read_time")
|
private Date readTime;
|
|
|
/**
|
* 扩展信息(JSON文本)
|
*/
|
@Excel(name = "扩展信息(JSON文本)")
|
@TableField("extra_data")
|
private String extraData;
|
|
|
/**
|
* 创建人
|
*/
|
@Excel(name = "创建人")
|
@TableField("create_uid")
|
private Integer createUid;
|
|
|
/**
|
* 创建时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@TableField("create_time")
|
private Date createTime;
|
|
|
/**
|
* 更新人
|
*/
|
@Excel(name = "更新人")
|
@TableField("update_uid")
|
private Integer updateUid;
|
|
|
/**
|
* 更新时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@TableField("update_time")
|
private Date updateTime;
|
|
|
}
|