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
 
package com.iplatform.model.po;
 
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.walker.jdbc.BasePo;
 
/**
 * 表名:SF_NOTIFICATION *
 * @author genrator
 */
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
public class SfNotification extends BasePo<SfNotification> {
    // 序列化版本号
    private static final long serialVersionUID = 1L;
 
    // 主键
    private Long id = null;
    @JsonIgnore
    protected boolean isset_id = false;
 
    // 属性列表
    private String mark = null;
    @JsonIgnore
    protected boolean isset_mark = false;
 
    private String type = null;
    @JsonIgnore
    protected boolean isset_type = false;
 
    private String description = null;
    @JsonIgnore
    protected boolean isset_description = false;
 
    private Integer isWechat = null;
    @JsonIgnore
    protected boolean isset_isWechat = false;
 
    private Integer wechatId = null;
    @JsonIgnore
    protected boolean isset_wechatId = false;
 
    private Integer isRoutine = null;
    @JsonIgnore
    protected boolean isset_isRoutine = false;
 
    private Integer routineId = null;
    @JsonIgnore
    protected boolean isset_routineId = false;
 
    private Integer isSms = null;
    @JsonIgnore
    protected boolean isset_isSms = false;
 
    private Integer smsId = null;
    @JsonIgnore
    protected boolean isset_smsId = false;
 
    private Integer sendType = null;
    @JsonIgnore
    protected boolean isset_sendType = false;
 
    private Long createTime = null;
    @JsonIgnore
    protected boolean isset_createTime = false;
 
    /**
     * 默认构造函数
     */
    public SfNotification() {
    }
 
    /**
     * 根据主键构造对象
     */
    public SfNotification(Long id) {
        this.setId(id);
    }
 
    /**
     * 设置主键值
     */
    @Override
    public void setPkValue(Object value) {
        this.setId((Long) value);
    }
 
    public Long getId() {
        return this.id;
    }
 
    public void setId(Long id) {
        this.id = id;
        this.isset_id = true;
    }
 
    @JsonIgnore
    public boolean isEmptyId() {
        return this.id == null;
    }
 
    public String getMark() {
        return this.mark;
    }
 
    public void setMark(String mark) {
        this.mark = mark;
        this.isset_mark = true;
    }
 
    @JsonIgnore
    public boolean isEmptyMark() {
        return this.mark == null || this.mark.length() == 0;
    }
 
    public String getType() {
        return this.type;
    }
 
    public void setType(String type) {
        this.type = type;
        this.isset_type = true;
    }
 
    @JsonIgnore
    public boolean isEmptyType() {
        return this.type == null || this.type.length() == 0;
    }
 
    public String getDescription() {
        return this.description;
    }
 
    public void setDescription(String description) {
        this.description = description;
        this.isset_description = true;
    }
 
    @JsonIgnore
    public boolean isEmptyDescription() {
        return this.description == null || this.description.length() == 0;
    }
 
    public Integer getIsWechat() {
        return this.isWechat;
    }
 
    public void setIsWechat(Integer isWechat) {
        this.isWechat = isWechat;
        this.isset_isWechat = true;
    }
 
    @JsonIgnore
    public boolean isEmptyIsWechat() {
        return this.isWechat == null;
    }
 
    public Integer getWechatId() {
        return this.wechatId;
    }
 
    public void setWechatId(Integer wechatId) {
        this.wechatId = wechatId;
        this.isset_wechatId = true;
    }
 
    @JsonIgnore
    public boolean isEmptyWechatId() {
        return this.wechatId == null;
    }
 
    public Integer getIsRoutine() {
        return this.isRoutine;
    }
 
    public void setIsRoutine(Integer isRoutine) {
        this.isRoutine = isRoutine;
        this.isset_isRoutine = true;
    }
 
    @JsonIgnore
    public boolean isEmptyIsRoutine() {
        return this.isRoutine == null;
    }
 
    public Integer getRoutineId() {
        return this.routineId;
    }
 
    public void setRoutineId(Integer routineId) {
        this.routineId = routineId;
        this.isset_routineId = true;
    }
 
    @JsonIgnore
    public boolean isEmptyRoutineId() {
        return this.routineId == null;
    }
 
    public Integer getIsSms() {
        return this.isSms;
    }
 
    public void setIsSms(Integer isSms) {
        this.isSms = isSms;
        this.isset_isSms = true;
    }
 
    @JsonIgnore
    public boolean isEmptyIsSms() {
        return this.isSms == null;
    }
 
    public Integer getSmsId() {
        return this.smsId;
    }
 
    public void setSmsId(Integer smsId) {
        this.smsId = smsId;
        this.isset_smsId = true;
    }
 
    @JsonIgnore
    public boolean isEmptySmsId() {
        return this.smsId == null;
    }
 
    public Integer getSendType() {
        return this.sendType;
    }
 
    public void setSendType(Integer sendType) {
        this.sendType = sendType;
        this.isset_sendType = true;
    }
 
    @JsonIgnore
    public boolean isEmptySendType() {
        return this.sendType == null;
    }
 
    public Long getCreateTime() {
        return this.createTime;
    }
 
    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
        this.isset_createTime = true;
    }
 
    @JsonIgnore
    public boolean isEmptyCreateTime() {
        return this.createTime == null;
    }
 
    /**
     * 重写 toString() 方法
     */
    @Override
    public String toString() {
        return new StringBuilder()
                .append("id=").append(this.id)
                .append("mark=").append(this.mark)
                .append("type=").append(this.type)
                .append("description=").append(this.description)
                .append("isWechat=").append(this.isWechat)
                .append("wechatId=").append(this.wechatId)
                .append("isRoutine=").append(this.isRoutine)
                .append("routineId=").append(this.routineId)
                .append("isSms=").append(this.isSms)
                .append("smsId=").append(this.smsId)
                .append("sendType=").append(this.sendType)
                .append("createTime=").append(this.createTime)
                .toString();
    }
 
    /**
     * 克隆
     */
    public SfNotification $clone() {
        SfNotification sf_notification = new SfNotification();
 
        // 数据库名称
        //sf_notification.setDatabaseName_(this.getDatabaseName_());
 
        // 主键
        if (this.isset_id) {
            sf_notification.setId(this.getId());
        }
        // 普通属性
        if (this.isset_mark) {
            sf_notification.setMark(this.getMark());
        }
        if (this.isset_type) {
            sf_notification.setType(this.getType());
        }
        if (this.isset_description) {
            sf_notification.setDescription(this.getDescription());
        }
        if (this.isset_isWechat) {
            sf_notification.setIsWechat(this.getIsWechat());
        }
        if (this.isset_wechatId) {
            sf_notification.setWechatId(this.getWechatId());
        }
        if (this.isset_isRoutine) {
            sf_notification.setIsRoutine(this.getIsRoutine());
        }
        if (this.isset_routineId) {
            sf_notification.setRoutineId(this.getRoutineId());
        }
        if (this.isset_isSms) {
            sf_notification.setIsSms(this.getIsSms());
        }
        if (this.isset_smsId) {
            sf_notification.setSmsId(this.getSmsId());
        }
        if (this.isset_sendType) {
            sf_notification.setSendType(this.getSendType());
        }
        if (this.isset_createTime) {
            sf_notification.setCreateTime(this.getCreateTime());
        }
        return sf_notification;
    }
}