123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150 |
- package org.jeecg.modules.system.entity;
- import com.baomidou.mybatisplus.annotation.IdType;
- import com.baomidou.mybatisplus.annotation.TableId;
- import com.baomidou.mybatisplus.annotation.TableName;
- import com.fasterxml.jackson.annotation.JsonFormat;
- import lombok.Data;
- import org.jeecg.common.aspect.annotation.Dict;
- import org.jeecgframework.poi.excel.annotation.Excel;
- import org.springframework.format.annotation.DateTimeFormat;
- import java.io.Serializable;
- /**
- * @Description: 系统通告表
- * @Author: jeecg-boot
- * @Date: 2019-01-02
- * @Version: V1.0
- */
- @Data
- @TableName("sys_announcement")
- public class SysAnnouncement implements Serializable {
- private static final long serialVersionUID = 1L;
- /**
- * id
- */
- @TableId(type = IdType.ASSIGN_ID)
- private java.lang.String id;
- /**
- * 标题
- */
- @Excel(name = "标题", width = 15)
- private java.lang.String titile;
- /**
- * 内容
- */
- @Excel(name = "内容", width = 30)
- private java.lang.String msgContent;
- /**
- * 开始时间
- */
- @Excel(name = "开始时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
- @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
- @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
- private java.util.Date startTime;
- /**
- * 结束时间
- */
- @Excel(name = "结束时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
- @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
- @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
- private java.util.Date endTime;
- /**
- * 发布人
- */
- @Excel(name = "发布人", width = 15)
- private java.lang.String sender;
- /**
- * 优先级(L低,M中,H高)
- */
- @Excel(name = "优先级", width = 15, dicCode = "priority")
- @Dict(dicCode = "priority")
- private java.lang.String priority;
-
- /**
- * 消息类型1:通知公告2:系统消息
- */
- @Excel(name = "消息类型", width = 15, dicCode = "msg_category")
- @Dict(dicCode = "msg_category")
- private java.lang.String msgCategory;
- /**
- * 通告对象类型(USER:指定用户,ALL:全体用户)
- */
- @Excel(name = "通告对象类型", width = 15, dicCode = "msg_type")
- @Dict(dicCode = "msg_type")
- private java.lang.String msgType;
- /**
- * 发布状态(0未发布,1已发布,2已撤销)
- */
- @Excel(name = "发布状态", width = 15, dicCode = "send_status")
- @Dict(dicCode = "send_status")
- private java.lang.String sendStatus;
- /**
- * 发布时间
- */
- @Excel(name = "发布时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
- @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
- @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
- private java.util.Date sendTime;
- /**
- * 撤销时间
- */
- @Excel(name = "撤销时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
- @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
- @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
- private java.util.Date cancelTime;
- /**
- * 删除状态(0,正常,1已删除)
- */
- private java.lang.String delFlag;
- /**
- * 创建人
- */
- private java.lang.String createBy;
- /**
- * 创建时间
- */
- @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
- @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
- private java.util.Date createTime;
- /**
- * 更新人
- */
- private java.lang.String updateBy;
- /**
- * 更新时间
- */
- @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
- @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
- private java.util.Date updateTime;
- /**
- * 指定用户
- **/
- private java.lang.String userIds;
- /**
- * 业务类型(email:邮件 bpm:流程)
- */
- private java.lang.String busType;
- /**
- * 业务id
- */
- private java.lang.String busId;
- /**
- * 打开方式 组件:component 路由:url
- */
- private java.lang.String openType;
- /**
- * 组件/路由 地址
- */
- private java.lang.String openPage;
- /**
- * 摘要
- */
- private java.lang.String msgAbstract;
- /**
- * 钉钉task_id,用于撤回消息
- */
- private java.lang.String dtTaskId;
- }
|