fangyuan
2022-11-22 b1516fedd7deedb61641321158fce862f77b4b4d
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
package com.ycl.entity;
 
 
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
 
import java.io.Serializable;
import java.sql.Date;
import java.util.List;
 
/**
 * 资讯表(NewsInformation)表实体类
 *
 * @author makejava
 * @since 2022-11-17 11:38:27
 */
@SuppressWarnings("serial")
public class NewsInformation extends Model<NewsInformation> {
    //id
    @ApiModelProperty("主键")
    private Integer id;
    //标题
    @ApiModelProperty("标题")
    private String title;
    //内容
    @ApiModelProperty("内容")
    private String content;
    //发布时间
    @ApiModelProperty("发布时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date publishTime;
    //是否需要签收-0需要签收1不需要签收
    @ApiModelProperty("是否需要签收")
    private Integer isSign;
    //创建时间
    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    //警员id
    @ApiModelProperty("警员id")
    private Integer sendTo;
    //图片地址
    @ApiModelProperty("图片地址")
    private String imageUrl;
    //部门(机构)id
    @ApiModelProperty("部门(机构)id")
    private List<String> departmentId;
    //栏目id
    @ApiModelProperty("栏目id")
    private List<String> columnId;
 
    public List<String> getColumnId() {
        return columnId;
    }
 
    public void setColumnId(List<String> columnId) {
        this.columnId = columnId;
    }
 
    public List<String> getDepartmentId() {
        return departmentId;
    }
 
    public void setDepartmentId(List<String> departmentId) {
        this.departmentId = departmentId;
    }
 
    public Integer getId() {
        return id;
    }
 
    public void setId(Integer id) {
        this.id = id;
    }
 
    public String getTitle() {
        return title;
    }
 
    public void setTitle(String title) {
        this.title = title;
    }
 
    public String getContent() {
        return content;
    }
 
    public void setContent(String content) {
        this.content = content;
    }
 
    public Date getPublishTime() {
        return publishTime;
    }
 
    public void setPublishTime(Date publishTime) {
        this.publishTime = publishTime;
    }
 
    public Integer getIsSign() {
        return isSign;
    }
 
    public void setIsSign(Integer isSign) {
        this.isSign = isSign;
    }
 
    public Date getCreateTime() {
        return createTime;
    }
 
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
 
    public Integer getSendTo() {
        return sendTo;
    }
 
    public void setSendTo(Integer sendTo) {
        this.sendTo = sendTo;
    }
 
    public String getImageUrl() {
        return imageUrl;
    }
 
    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }
 
    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
    }