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
package com.iplatform.model.po;
 
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.walker.jdbc.BasePo;
 
/**
 * 表名:SDC_META_DB *
 * @author genrator
 */
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
public class Sdc_meta_db extends BasePo<Sdc_meta_db> {
    // 序列化版本号
    private static final long serialVersionUID = 1L;
 
    /**
     * 用于兼容老写法
     */
    @JsonIgnore
    public static final Sdc_meta_db ROW_MAPPER = new Sdc_meta_db();
 
    // 主键
    private Long id = null;
    @JsonIgnore
    protected boolean isset_id = false;
 
    // 属性列表
    private Long create_time = null;
    @JsonIgnore
    protected boolean isset_create_time = false;
 
    private String store_id = null;
    @JsonIgnore
    protected boolean isset_store_id = false;
 
    private String database_name = null;
    @JsonIgnore
    protected boolean isset_database_name = false;
 
    private Integer used = null;
    @JsonIgnore
    protected boolean isset_used = false;
 
    private Integer is_using = null;
    @JsonIgnore
    protected boolean isset_is_using = false;
 
    private String host_info = null;
    @JsonIgnore
    protected boolean isset_host_info = false;
 
    private Integer table_count = null;
    @JsonIgnore
    protected boolean isset_table_count = false;
 
    private String summary = null;
    @JsonIgnore
    protected boolean isset_summary = false;
 
    private String password = null;
    @JsonIgnore
    protected boolean isset_password = false;
 
    private String username = null;
    @JsonIgnore
    protected boolean isset_username = false;
 
    /**
     * 默认构造函数
     */
    public Sdc_meta_db() {
    }
 
    /**
     * 根据主键构造对象
     */
    public Sdc_meta_db(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 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 String getDatabase_name() {
        return this.database_name;
    }
 
    public void setDatabase_name(String database_name) {
        this.database_name = database_name;
        this.isset_database_name = true;
    }
 
    @JsonIgnore
    public boolean isEmptyDatabase_name() {
        return this.database_name == null || this.database_name.length() == 0;
    }
 
    public Integer getUsed() {
        return this.used;
    }
 
    public void setUsed(Integer used) {
        this.used = used;
        this.isset_used = true;
    }
 
    @JsonIgnore
    public boolean isEmptyUsed() {
        return this.used == null;
    }
 
    public Integer getIs_using() {
        return this.is_using;
    }
 
    public void setIs_using(Integer is_using) {
        this.is_using = is_using;
        this.isset_is_using = true;
    }
 
    @JsonIgnore
    public boolean isEmptyIs_using() {
        return this.is_using == null;
    }
 
    public String getHost_info() {
        return this.host_info;
    }
 
    public void setHost_info(String host_info) {
        this.host_info = host_info;
        this.isset_host_info = true;
    }
 
    @JsonIgnore
    public boolean isEmptyHost_info() {
        return this.host_info == null || this.host_info.length() == 0;
    }
 
    public Integer getTable_count() {
        return this.table_count;
    }
 
    public void setTable_count(Integer table_count) {
        this.table_count = table_count;
        this.isset_table_count = true;
    }
 
    @JsonIgnore
    public boolean isEmptyTable_count() {
        return this.table_count == 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;
    }
 
    public String getPassword() {
        return this.password;
    }
 
    public void setPassword(String password) {
        this.password = password;
        this.isset_password = true;
    }
 
    @JsonIgnore
    public boolean isEmptyPassword() {
        return this.password == null || this.password.length() == 0;
    }
 
    public String getUsername() {
        return this.username;
    }
 
    public void setUsername(String username) {
        this.username = username;
        this.isset_username = true;
    }
 
    @JsonIgnore
    public boolean isEmptyUsername() {
        return this.username == null || this.username.length() == 0;
    }
 
    /**
     * 重写 toString() 方法
     */
    @Override
    public String toString() {
        return new StringBuilder()
                .append("id=").append(this.id)
                .append("create_time=").append(this.create_time)
                .append("store_id=").append(this.store_id)
                .append("database_name=").append(this.database_name)
                .append("used=").append(this.used)
                .append("is_using=").append(this.is_using)
                .append("host_info=").append(this.host_info)
                .append("table_count=").append(this.table_count)
                .append("summary=").append(this.summary)
                .append("password=").append(this.password)
                .append("username=").append(this.username)
                .toString();
    }
 
    /**
     * 克隆
     */
    public Sdc_meta_db $clone() {
        Sdc_meta_db sdc_meta_db = new Sdc_meta_db();
 
        // 数据库名称
        //sdc_meta_db.setDatabaseName_(this.getDatabaseName_());
 
        // 主键
        if (this.isset_id) {
            sdc_meta_db.setId(this.getId());
        }
        // 普通属性
        if (this.isset_create_time) {
            sdc_meta_db.setCreate_time(this.getCreate_time());
        }
        if (this.isset_store_id) {
            sdc_meta_db.setStore_id(this.getStore_id());
        }
        if (this.isset_database_name) {
            sdc_meta_db.setDatabase_name(this.getDatabase_name());
        }
        if (this.isset_used) {
            sdc_meta_db.setUsed(this.getUsed());
        }
        if (this.isset_is_using) {
            sdc_meta_db.setIs_using(this.getIs_using());
        }
        if (this.isset_host_info) {
            sdc_meta_db.setHost_info(this.getHost_info());
        }
        if (this.isset_table_count) {
            sdc_meta_db.setTable_count(this.getTable_count());
        }
        if (this.isset_summary) {
            sdc_meta_db.setSummary(this.getSummary());
        }
        if (this.isset_password) {
            sdc_meta_db.setPassword(this.getPassword());
        }
        if (this.isset_username) {
            sdc_meta_db.setUsername(this.getUsername());
        }
        return sdc_meta_db;
    }
}