baizonghao
2023-07-31 98b2f41e13c48219e054cf8b80c459298a01c910
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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
package com.mindskip.xzs.domain;
 
import com.fasterxml.jackson.annotation.JsonFormat;
 
import java.io.Serializable;
import java.util.Date;
 
/**
 * @version 2.2.0
 * @description: 消息
 * Copyright (C), 2020-2021, 武汉思维跳跃科技有限公司
 * @date 2021 /9/7 9:45
 */
public class Message implements Serializable {
 
    private static final long serialVersionUID = -3510265139403747341L;
 
    private Integer id;
 
    /**
     * 标题
     */
    private String title;
 
    /**
     * 内容
     */
    private String content;
 
    /**
     * 创建时间
     */
    private Date createTime;
 
    /**
     * 发送人
     */
    private Integer sendUserId;
 
    /**
     * 发送人用户名
     */
    private String sendUserName;
 
    /**
     * 发送人真实名
     */
    private String sendRealName;
 
    /**
     * 接收人数量
     */
    private Integer receiveUserCount;
 
    /**
     * 已读数量
     */
    private Integer readCount;
 
    /**
     * Gets id.
     *
     * @return the id
     */
    public Integer getId() {
        return id;
    }
 
    /**
     * Sets id.
     *
     * @param id the id
     */
    public void setId(Integer id) {
        this.id = id;
    }
 
    /**
     * Gets title.
     *
     * @return the title
     */
    public String getTitle() {
        return title;
    }
 
    /**
     * Sets title.
     *
     * @param title the title
     */
    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }
 
    /**
     * Gets content.
     *
     * @return the content
     */
    public String getContent() {
        return content;
    }
 
    /**
     * Sets content.
     *
     * @param content the content
     */
    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }
 
    /**
     * Gets create time.
     *
     * @return the create time
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    public Date getCreateTime() {
        return createTime;
    }
 
    /**
     * Sets create time.
     *
     * @param createTime the create time
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
 
    /**
     * Gets send user id.
     *
     * @return the send user id
     */
    public Integer getSendUserId() {
        return sendUserId;
    }
 
    /**
     * Sets send user id.
     *
     * @param sendUserId the send user id
     */
    public void setSendUserId(Integer sendUserId) {
        this.sendUserId = sendUserId;
    }
 
    /**
     * Gets send user name.
     *
     * @return the send user name
     */
    public String getSendUserName() {
        return sendUserName;
    }
 
    /**
     * Sets send user name.
     *
     * @param sendUserName the send user name
     */
    public void setSendUserName(String sendUserName) {
        this.sendUserName = sendUserName == null ? null : sendUserName.trim();
    }
 
    /**
     * Gets send real name.
     *
     * @return the send real name
     */
    public String getSendRealName() {
        return sendRealName;
    }
 
    /**
     * Sets send real name.
     *
     * @param sendRealName the send real name
     */
    public void setSendRealName(String sendRealName) {
        this.sendRealName = sendRealName == null ? null : sendRealName.trim();
    }
 
    /**
     * Gets receive user count.
     *
     * @return the receive user count
     */
    public Integer getReceiveUserCount() {
        return receiveUserCount;
    }
 
    /**
     * Sets receive user count.
     *
     * @param receiveUserCount the receive user count
     */
    public void setReceiveUserCount(Integer receiveUserCount) {
        this.receiveUserCount = receiveUserCount;
    }
 
    /**
     * Gets read count.
     *
     * @return the read count
     */
    public Integer getReadCount() {
        return readCount;
    }
 
    /**
     * Sets read count.
     *
     * @param readCount the read count
     */
    public void setReadCount(Integer readCount) {
        this.readCount = readCount;
    }
}