AnnouncementSendModel.java
1.5 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
package com.skua.modules.system.model;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
/**
* 用户通告阅读标记表
*/
@Data
@TableName("sys_announcement_send")
public class AnnouncementSendModel implements Serializable {
private static final long serialVersionUID = 1L;
/**id*/
@TableId(type = IdType.UUID)
private java.lang.String id;
/**通告id*/
private java.lang.String anntId;
/**用户id*/
private java.lang.String userId;
/**标题*/
private java.lang.String titile;
/**内容*/
private java.lang.String msgContent;
/**发布人*/
private java.lang.String sender;
/**优先级(L低,M中,H高)*/
private java.lang.String priority;
/**阅读状态*/
private java.lang.String readFlag;
/**发布时间*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
private java.util.Date sendTime;
/**页数*/
private java.lang.Integer pageNo;
/**大小*/
private java.lang.Integer pageSize;
/**
* 消息类型1:通知公告2:系统消息
*/
private java.lang.String msgCategory;
private java.lang.String alarmType;
/**附件*/
@TableField(exist = false)
private java.lang.String docuAddr;
}