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
package com.iplatform.model.po;
 
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.walker.jdbc.BasePo;
 
/**
 * 表名:SDC_STORE *
 * @author genrator
 */
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
public class Sdc_store extends BasePo<Sdc_store> {
    // 序列化版本号
    private static final long serialVersionUID = 1L;
 
    /**
     * 用于兼容老写法
     */
    @JsonIgnore
    public static final Sdc_store ROW_MAPPER = new Sdc_store();
 
    // 主键
    private String 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 description = null;
    @JsonIgnore
    protected boolean isset_description = false;
 
    private Integer inner_use = null;
    @JsonIgnore
    protected boolean isset_inner_use = false;
 
    private String type = null;
    @JsonIgnore
    protected boolean isset_type = false;
 
    private Integer database_type = null;
    @JsonIgnore
    protected boolean isset_database_type = false;
 
    private String strategy = null;
    @JsonIgnore
    protected boolean isset_strategy = false;
 
    private Integer deleted = null;
    @JsonIgnore
    protected boolean isset_deleted = false;
 
    private Long update_time = null;
    @JsonIgnore
    protected boolean isset_update_time = false;
 
    private String update_user = null;
    @JsonIgnore
    protected boolean isset_update_user = false;
 
    private String define_name = null;
    @JsonIgnore
    protected boolean isset_define_name = false;
 
    private String select_hosts = null;
    @JsonIgnore
    protected boolean isset_select_hosts = false;
 
    /**
     * 默认构造函数
     */
    public Sdc_store() {
    }
 
    /**
     * 根据主键构造对象
     */
    public Sdc_store(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 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 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 getInner_use() {
        return this.inner_use;
    }
 
    public void setInner_use(Integer inner_use) {
        this.inner_use = inner_use;
        this.isset_inner_use = true;
    }
 
    @JsonIgnore
    public boolean isEmptyInner_use() {
        return this.inner_use == null;
    }
 
    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 Integer getDatabase_type() {
        return this.database_type;
    }
 
    public void setDatabase_type(Integer database_type) {
        this.database_type = database_type;
        this.isset_database_type = true;
    }
 
    @JsonIgnore
    public boolean isEmptyDatabase_type() {
        return this.database_type == null;
    }
 
    public String getStrategy() {
        return this.strategy;
    }
 
    public void setStrategy(String strategy) {
        this.strategy = strategy;
        this.isset_strategy = true;
    }
 
    @JsonIgnore
    public boolean isEmptyStrategy() {
        return this.strategy == null || this.strategy.length() == 0;
    }
 
    public Integer getDeleted() {
        return this.deleted;
    }
 
    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
        this.isset_deleted = true;
    }
 
    @JsonIgnore
    public boolean isEmptyDeleted() {
        return this.deleted == null;
    }
 
    public Long getUpdate_time() {
        return this.update_time;
    }
 
    public void setUpdate_time(Long update_time) {
        this.update_time = update_time;
        this.isset_update_time = true;
    }
 
    @JsonIgnore
    public boolean isEmptyUpdate_time() {
        return this.update_time == null;
    }
 
    public String getUpdate_user() {
        return this.update_user;
    }
 
    public void setUpdate_user(String update_user) {
        this.update_user = update_user;
        this.isset_update_user = true;
    }
 
    @JsonIgnore
    public boolean isEmptyUpdate_user() {
        return this.update_user == null || this.update_user.length() == 0;
    }
 
    public String getDefine_name() {
        return this.define_name;
    }
 
    public void setDefine_name(String define_name) {
        this.define_name = define_name;
        this.isset_define_name = true;
    }
 
    @JsonIgnore
    public boolean isEmptyDefine_name() {
        return this.define_name == null || this.define_name.length() == 0;
    }
 
    public String getSelect_hosts() {
        return this.select_hosts;
    }
 
    public void setSelect_hosts(String select_hosts) {
        this.select_hosts = select_hosts;
        this.isset_select_hosts = true;
    }
 
    @JsonIgnore
    public boolean isEmptySelect_hosts() {
        return this.select_hosts == null || this.select_hosts.length() == 0;
    }
 
    /**
     * 重写 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("description=").append(this.description)
                .append("inner_use=").append(this.inner_use)
                .append("type=").append(this.type)
                .append("database_type=").append(this.database_type)
                .append("strategy=").append(this.strategy)
                .append("deleted=").append(this.deleted)
                .append("update_time=").append(this.update_time)
                .append("update_user=").append(this.update_user)
                .append("define_name=").append(this.define_name)
                .append("select_hosts=").append(this.select_hosts)
                .toString();
    }
 
    /**
     * 克隆
     */
    public Sdc_store $clone() {
        Sdc_store sdc_store = new Sdc_store();
 
        // 数据库名称
        //sdc_store.setDatabaseName_(this.getDatabaseName_());
 
        // 主键
        if (this.isset_id) {
            sdc_store.setId(this.getId());
        }
        // 普通属性
        if (this.isset_create_time) {
            sdc_store.setCreate_time(this.getCreate_time());
        }
        if (this.isset_create_user) {
            sdc_store.setCreate_user(this.getCreate_user());
        }
        if (this.isset_description) {
            sdc_store.setDescription(this.getDescription());
        }
        if (this.isset_inner_use) {
            sdc_store.setInner_use(this.getInner_use());
        }
        if (this.isset_type) {
            sdc_store.setType(this.getType());
        }
        if (this.isset_database_type) {
            sdc_store.setDatabase_type(this.getDatabase_type());
        }
        if (this.isset_strategy) {
            sdc_store.setStrategy(this.getStrategy());
        }
        if (this.isset_deleted) {
            sdc_store.setDeleted(this.getDeleted());
        }
        if (this.isset_update_time) {
            sdc_store.setUpdate_time(this.getUpdate_time());
        }
        if (this.isset_update_user) {
            sdc_store.setUpdate_user(this.getUpdate_user());
        }
        if (this.isset_define_name) {
            sdc_store.setDefine_name(this.getDefine_name());
        }
        if (this.isset_select_hosts) {
            sdc_store.setSelect_hosts(this.getSelect_hosts());
        }
        return sdc_store;
    }
}