zzw
2023-12-01 e023474fc9bcc726ed558a0623f1316dddc13152
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
56
57
58
59
60
61
62
63
64
65
66
67
/**
 * Copyright (c) 2019 人人开源 All rights reserved.
 *
 * https://www.renren.io
 *
 * 版权所有,侵权必究!
 */
package com.zt.modules.message.model;
 
import java.util.Date;
import java.util.List;
 
import lombok.Data;
import lombok.EqualsAndHashCode;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.zt.common.entity.BusiEntity;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
 
/**
 * 通知
 *
 * @author hehz
 */
@Data
@ApiModel(value = "通知")
@EqualsAndHashCode(callSuper = false)
@TableName("SYS_NOTICE")
public class SysNotice extends BusiEntity {
    private static final long serialVersionUID = 1L;
 
    @ApiModelProperty(value = "通知类型")
    private Integer type;
 
    @ApiModelProperty(value = "标题")
    private String title;
 
    @ApiModelProperty(value = "内容")
    private String content;
 
    @ApiModelProperty(value = "接收者类型  0:部门  1:人员")
    private Integer receiverType;
 
    @JsonIgnore
    private String receiverIds;// 接收者ID,用逗号分开
 
    @ApiModelProperty(value = "接收者ID列表")
    @TableField(exist = false)
    private List<Long> receiverList;
 
    @ApiModelProperty(value = "发送状态  0:草稿  1:已发布")
    private Integer status;
 
    @ApiModelProperty(value = "发送者")
    private Long senderId;
 
    @ApiModelProperty(value = "发送时间")
    private Date sendDate;
 
     @ApiModelProperty(value = "发送者")
     @TableField(exist = false)
     private String senderName;
}