shikeyin
2024-01-11 65da8373531677b1c37a98f53eaa30c892f35e5a
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
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
package com.iplatform.model.po;
 
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.walker.jdbc.BasePo;
 
/**
 * 表名:S_MESSAGE *
 * @author genrator
 */
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
public class S_message extends BasePo<S_message> {
    // 序列化版本号
    private static final long serialVersionUID = 1L;
 
    /**
     * 用于兼容老写法
     */
    @JsonIgnore
    public static final S_message ROW_MAPPER = new S_message();
 
    // 主键
    private String id = null;
    @JsonIgnore
    protected boolean isset_id = false;
 
    // 属性列表
    private Long create_time = null;
    @JsonIgnore
    protected boolean isset_create_time = false;
 
    private String creator = null;
    @JsonIgnore
    protected boolean isset_creator = false;
 
    private String msg_from = null;
    @JsonIgnore
    protected boolean isset_msg_from = false;
 
    private String receiver = null;
    @JsonIgnore
    protected boolean isset_receiver = false;
 
    private String channel_index = null;
    @JsonIgnore
    protected boolean isset_channel_index = false;
 
    private Integer time_type = null;
    @JsonIgnore
    protected boolean isset_time_type = false;
 
    private Long delayed_time = null;
    @JsonIgnore
    protected boolean isset_delayed_time = false;
 
    private String title = null;
    @JsonIgnore
    protected boolean isset_title = false;
 
    private String content = null;
    @JsonIgnore
    protected boolean isset_content = false;
 
    private Integer broad_cast = null;
    @JsonIgnore
    protected boolean isset_broad_cast = false;
 
    private String option_type = null;
    @JsonIgnore
    protected boolean isset_option_type = false;
 
    private String option_id = null;
    @JsonIgnore
    protected boolean isset_option_id = false;
 
    private Integer read_done = null;
    @JsonIgnore
    protected boolean isset_read_done = false;
 
    private Long read_time = null;
    @JsonIgnore
    protected boolean isset_read_time = false;
 
    private Integer failed = null;
    @JsonIgnore
    protected boolean isset_failed = false;
 
    private String summary = null;
    @JsonIgnore
    protected boolean isset_summary = false;
 
    /**
     * 默认构造函数
     */
    public S_message() {
    }
 
    /**
     * 根据主键构造对象
     */
    public S_message(String id) {
        this.setId(id);
    }
 
    /**
     * 设置主键值
     */
    @Override
    public void setPkValue(Object value) {
        this.setId((String) value);
    }
 
    public String getId() {
        return this.id;
    }
 
    public void setId(String id) {
        this.id = id;
        this.isset_id = true;
    }
 
    @JsonIgnore
    public boolean isEmptyId() {
        return this.id == null || this.id.length() == 0;
    }
 
    public Long getCreate_time() {
        return this.create_time;
    }
 
    public void setCreate_time(Long create_time) {
        this.create_time = create_time;
        this.isset_create_time = true;
    }
 
    @JsonIgnore
    public boolean isEmptyCreate_time() {
        return this.create_time == null;
    }
 
    public String getCreator() {
        return this.creator;
    }
 
    public void setCreator(String creator) {
        this.creator = creator;
        this.isset_creator = true;
    }
 
    @JsonIgnore
    public boolean isEmptyCreator() {
        return this.creator == null || this.creator.length() == 0;
    }
 
    public String getMsg_from() {
        return this.msg_from;
    }
 
    public void setMsg_from(String msg_from) {
        this.msg_from = msg_from;
        this.isset_msg_from = true;
    }
 
    @JsonIgnore
    public boolean isEmptyMsg_from() {
        return this.msg_from == null || this.msg_from.length() == 0;
    }
 
    public String getReceiver() {
        return this.receiver;
    }
 
    public void setReceiver(String receiver) {
        this.receiver = receiver;
        this.isset_receiver = true;
    }
 
    @JsonIgnore
    public boolean isEmptyReceiver() {
        return this.receiver == null || this.receiver.length() == 0;
    }
 
    public String getChannel_index() {
        return this.channel_index;
    }
 
    public void setChannel_index(String channel_index) {
        this.channel_index = channel_index;
        this.isset_channel_index = true;
    }
 
    @JsonIgnore
    public boolean isEmptyChannel_index() {
        return this.channel_index == null || this.channel_index.length() == 0;
    }
 
    public Integer getTime_type() {
        return this.time_type;
    }
 
    public void setTime_type(Integer time_type) {
        this.time_type = time_type;
        this.isset_time_type = true;
    }
 
    @JsonIgnore
    public boolean isEmptyTime_type() {
        return this.time_type == null;
    }
 
    public Long getDelayed_time() {
        return this.delayed_time;
    }
 
    public void setDelayed_time(Long delayed_time) {
        this.delayed_time = delayed_time;
        this.isset_delayed_time = true;
    }
 
    @JsonIgnore
    public boolean isEmptyDelayed_time() {
        return this.delayed_time == null;
    }
 
    public String getTitle() {
        return this.title;
    }
 
    public void setTitle(String title) {
        this.title = title;
        this.isset_title = true;
    }
 
    @JsonIgnore
    public boolean isEmptyTitle() {
        return this.title == null || this.title.length() == 0;
    }
 
    public String getContent() {
        return this.content;
    }
 
    public void setContent(String content) {
        this.content = content;
        this.isset_content = true;
    }
 
    @JsonIgnore
    public boolean isEmptyContent() {
        return this.content == null || this.content.length() == 0;
    }
 
    public Integer getBroad_cast() {
        return this.broad_cast;
    }
 
    public void setBroad_cast(Integer broad_cast) {
        this.broad_cast = broad_cast;
        this.isset_broad_cast = true;
    }
 
    @JsonIgnore
    public boolean isEmptyBroad_cast() {
        return this.broad_cast == null;
    }
 
    public String getOption_type() {
        return this.option_type;
    }
 
    public void setOption_type(String option_type) {
        this.option_type = option_type;
        this.isset_option_type = true;
    }
 
    @JsonIgnore
    public boolean isEmptyOption_type() {
        return this.option_type == null || this.option_type.length() == 0;
    }
 
    public String getOption_id() {
        return this.option_id;
    }
 
    public void setOption_id(String option_id) {
        this.option_id = option_id;
        this.isset_option_id = true;
    }
 
    @JsonIgnore
    public boolean isEmptyOption_id() {
        return this.option_id == null || this.option_id.length() == 0;
    }
 
    public Integer getRead_done() {
        return this.read_done;
    }
 
    public void setRead_done(Integer read_done) {
        this.read_done = read_done;
        this.isset_read_done = true;
    }
 
    @JsonIgnore
    public boolean isEmptyRead_done() {
        return this.read_done == null;
    }
 
    public Long getRead_time() {
        return this.read_time;
    }
 
    public void setRead_time(Long read_time) {
        this.read_time = read_time;
        this.isset_read_time = true;
    }
 
    @JsonIgnore
    public boolean isEmptyRead_time() {
        return this.read_time == null;
    }
 
    public Integer getFailed() {
        return this.failed;
    }
 
    public void setFailed(Integer failed) {
        this.failed = failed;
        this.isset_failed = true;
    }
 
    @JsonIgnore
    public boolean isEmptyFailed() {
        return this.failed == null;
    }
 
    public String getSummary() {
        return this.summary;
    }
 
    public void setSummary(String summary) {
        this.summary = summary;
        this.isset_summary = true;
    }
 
    @JsonIgnore
    public boolean isEmptySummary() {
        return this.summary == null || this.summary.length() == 0;
    }
 
    /**
     * 重写 toString() 方法
     */
    @Override
    public String toString() {
        return new StringBuilder()
                .append("id=").append(this.id)
                .append("create_time=").append(this.create_time)
                .append("creator=").append(this.creator)
                .append("msg_from=").append(this.msg_from)
                .append("receiver=").append(this.receiver)
                .append("channel_index=").append(this.channel_index)
                .append("time_type=").append(this.time_type)
                .append("delayed_time=").append(this.delayed_time)
                .append("title=").append(this.title)
                .append("content=").append(this.content)
                .append("broad_cast=").append(this.broad_cast)
                .append("option_type=").append(this.option_type)
                .append("option_id=").append(this.option_id)
                .append("read_done=").append(this.read_done)
                .append("read_time=").append(this.read_time)
                .append("failed=").append(this.failed)
                .append("summary=").append(this.summary)
                .toString();
    }
 
    /**
     * 克隆
     */
    public S_message $clone() {
        S_message s_message = new S_message();
 
        // 数据库名称
        //s_message.setDatabaseName_(this.getDatabaseName_());
 
        // 主键
        if (this.isset_id) {
            s_message.setId(this.getId());
        }
        // 普通属性
        if (this.isset_create_time) {
            s_message.setCreate_time(this.getCreate_time());
        }
        if (this.isset_creator) {
            s_message.setCreator(this.getCreator());
        }
        if (this.isset_msg_from) {
            s_message.setMsg_from(this.getMsg_from());
        }
        if (this.isset_receiver) {
            s_message.setReceiver(this.getReceiver());
        }
        if (this.isset_channel_index) {
            s_message.setChannel_index(this.getChannel_index());
        }
        if (this.isset_time_type) {
            s_message.setTime_type(this.getTime_type());
        }
        if (this.isset_delayed_time) {
            s_message.setDelayed_time(this.getDelayed_time());
        }
        if (this.isset_title) {
            s_message.setTitle(this.getTitle());
        }
        if (this.isset_content) {
            s_message.setContent(this.getContent());
        }
        if (this.isset_broad_cast) {
            s_message.setBroad_cast(this.getBroad_cast());
        }
        if (this.isset_option_type) {
            s_message.setOption_type(this.getOption_type());
        }
        if (this.isset_option_id) {
            s_message.setOption_id(this.getOption_id());
        }
        if (this.isset_read_done) {
            s_message.setRead_done(this.getRead_done());
        }
        if (this.isset_read_time) {
            s_message.setRead_time(this.getRead_time());
        }
        if (this.isset_failed) {
            s_message.setFailed(this.getFailed());
        }
        if (this.isset_summary) {
            s_message.setSummary(this.getSummary());
        }
        return s_message;
    }
}