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
package com.iplatform.model.po;
 
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.walker.jdbc.BasePo;
 
/**
 * 表名:SDC_GATHER *
 * @author genrator
 */
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
public class Sdc_gather extends BasePo<Sdc_gather> {
    // 序列化版本号
    private static final long serialVersionUID = 1L;
 
    /**
     * 用于兼容老写法
     */
    @JsonIgnore
    public static final Sdc_gather ROW_MAPPER = new Sdc_gather();
 
    // 主键
    private Long id = null;
    @JsonIgnore
    protected boolean isset_id = false;
 
    // 属性列表
    private Long create_time = null;
    @JsonIgnore
    protected boolean isset_create_time = false;
 
    private String create_user = null;
    @JsonIgnore
    protected boolean isset_create_user = false;
 
    private String name = null;
    @JsonIgnore
    protected boolean isset_name = false;
 
    private String description = null;
    @JsonIgnore
    protected boolean isset_description = false;
 
    private Integer src_type = null;
    @JsonIgnore
    protected boolean isset_src_type = false;
 
    private String src_url = null;
    @JsonIgnore
    protected boolean isset_src_url = false;
 
    private Integer src_port = null;
    @JsonIgnore
    protected boolean isset_src_port = false;
 
    private String src_service = null;
    @JsonIgnore
    protected boolean isset_src_service = false;
 
    private String src_user = null;
    @JsonIgnore
    protected boolean isset_src_user = false;
 
    private String src_pass = null;
    @JsonIgnore
    protected boolean isset_src_pass = false;
 
    private String store_id = null;
    @JsonIgnore
    protected boolean isset_store_id = false;
 
    private Integer status = null;
    @JsonIgnore
    protected boolean isset_status = false;
 
    private Integer schedule_id = null;
    @JsonIgnore
    protected boolean isset_schedule_id = false;
 
    /**
     * 默认构造函数
     */
    public Sdc_gather() {
    }
 
    /**
     * 根据主键构造对象
     */
    public Sdc_gather(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 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 getCreate_user() {
        return this.create_user;
    }
 
    public void setCreate_user(String create_user) {
        this.create_user = create_user;
        this.isset_create_user = true;
    }
 
    @JsonIgnore
    public boolean isEmptyCreate_user() {
        return this.create_user == null || this.create_user.length() == 0;
    }
 
    public String getName() {
        return this.name;
    }
 
    public void setName(String name) {
        this.name = name;
        this.isset_name = true;
    }
 
    @JsonIgnore
    public boolean isEmptyName() {
        return this.name == null || this.name.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 getSrc_type() {
        return this.src_type;
    }
 
    public void setSrc_type(Integer src_type) {
        this.src_type = src_type;
        this.isset_src_type = true;
    }
 
    @JsonIgnore
    public boolean isEmptySrc_type() {
        return this.src_type == null;
    }
 
    public String getSrc_url() {
        return this.src_url;
    }
 
    public void setSrc_url(String src_url) {
        this.src_url = src_url;
        this.isset_src_url = true;
    }
 
    @JsonIgnore
    public boolean isEmptySrc_url() {
        return this.src_url == null || this.src_url.length() == 0;
    }
 
    public Integer getSrc_port() {
        return this.src_port;
    }
 
    public void setSrc_port(Integer src_port) {
        this.src_port = src_port;
        this.isset_src_port = true;
    }
 
    @JsonIgnore
    public boolean isEmptySrc_port() {
        return this.src_port == null;
    }
 
    public String getSrc_service() {
        return this.src_service;
    }
 
    public void setSrc_service(String src_service) {
        this.src_service = src_service;
        this.isset_src_service = true;
    }
 
    @JsonIgnore
    public boolean isEmptySrc_service() {
        return this.src_service == null || this.src_service.length() == 0;
    }
 
    public String getSrc_user() {
        return this.src_user;
    }
 
    public void setSrc_user(String src_user) {
        this.src_user = src_user;
        this.isset_src_user = true;
    }
 
    @JsonIgnore
    public boolean isEmptySrc_user() {
        return this.src_user == null || this.src_user.length() == 0;
    }
 
    public String getSrc_pass() {
        return this.src_pass;
    }
 
    public void setSrc_pass(String src_pass) {
        this.src_pass = src_pass;
        this.isset_src_pass = true;
    }
 
    @JsonIgnore
    public boolean isEmptySrc_pass() {
        return this.src_pass == null || this.src_pass.length() == 0;
    }
 
    public String getStore_id() {
        return this.store_id;
    }
 
    public void setStore_id(String store_id) {
        this.store_id = store_id;
        this.isset_store_id = true;
    }
 
    @JsonIgnore
    public boolean isEmptyStore_id() {
        return this.store_id == null || this.store_id.length() == 0;
    }
 
    public Integer getStatus() {
        return this.status;
    }
 
    public void setStatus(Integer status) {
        this.status = status;
        this.isset_status = true;
    }
 
    @JsonIgnore
    public boolean isEmptyStatus() {
        return this.status == null;
    }
 
    public Integer getSchedule_id() {
        return this.schedule_id;
    }
 
    public void setSchedule_id(Integer schedule_id) {
        this.schedule_id = schedule_id;
        this.isset_schedule_id = true;
    }
 
    @JsonIgnore
    public boolean isEmptySchedule_id() {
        return this.schedule_id == null;
    }
 
    /**
     * 重写 toString() 方法
     */
    @Override
    public String toString() {
        return new StringBuilder()
                .append("id=").append(this.id)
                .append("create_time=").append(this.create_time)
                .append("create_user=").append(this.create_user)
                .append("name=").append(this.name)
                .append("description=").append(this.description)
                .append("src_type=").append(this.src_type)
                .append("src_url=").append(this.src_url)
                .append("src_port=").append(this.src_port)
                .append("src_service=").append(this.src_service)
                .append("src_user=").append(this.src_user)
                .append("src_pass=").append(this.src_pass)
                .append("store_id=").append(this.store_id)
                .append("status=").append(this.status)
                .append("schedule_id=").append(this.schedule_id)
                .toString();
    }
 
    /**
     * 克隆
     */
    public Sdc_gather $clone() {
        Sdc_gather sdc_gather = new Sdc_gather();
 
        // 数据库名称
        //sdc_gather.setDatabaseName_(this.getDatabaseName_());
 
        // 主键
        if (this.isset_id) {
            sdc_gather.setId(this.getId());
        }
        // 普通属性
        if (this.isset_create_time) {
            sdc_gather.setCreate_time(this.getCreate_time());
        }
        if (this.isset_create_user) {
            sdc_gather.setCreate_user(this.getCreate_user());
        }
        if (this.isset_name) {
            sdc_gather.setName(this.getName());
        }
        if (this.isset_description) {
            sdc_gather.setDescription(this.getDescription());
        }
        if (this.isset_src_type) {
            sdc_gather.setSrc_type(this.getSrc_type());
        }
        if (this.isset_src_url) {
            sdc_gather.setSrc_url(this.getSrc_url());
        }
        if (this.isset_src_port) {
            sdc_gather.setSrc_port(this.getSrc_port());
        }
        if (this.isset_src_service) {
            sdc_gather.setSrc_service(this.getSrc_service());
        }
        if (this.isset_src_user) {
            sdc_gather.setSrc_user(this.getSrc_user());
        }
        if (this.isset_src_pass) {
            sdc_gather.setSrc_pass(this.getSrc_pass());
        }
        if (this.isset_store_id) {
            sdc_gather.setStore_id(this.getStore_id());
        }
        if (this.isset_status) {
            sdc_gather.setStatus(this.getStatus());
        }
        if (this.isset_schedule_id) {
            sdc_gather.setSchedule_id(this.getSchedule_id());
        }
        return sdc_gather;
    }
}