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
 
 
package com.iplatform.model.po;
 
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.walker.jdbc.BasePo;
 
/**
 * 表名:S_CONFIG *
 * @author genrator
 */
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
public class S_config extends BasePo<S_config> {
    // 序列化版本号
    private static final long serialVersionUID = 1L;
 
    /**
     * 用于兼容老写法
     */
    @JsonIgnore
    public static final S_config ROW_MAPPER = new S_config();
 
    // 主键
    private Long config_id = null;
    @JsonIgnore
    protected boolean isset_config_id = false;
 
    // 属性列表
    private String config_name = null;
    @JsonIgnore
    protected boolean isset_config_name = false;
 
    private String config_key = null;
    @JsonIgnore
    protected boolean isset_config_key = false;
 
    private String config_value = null;
    @JsonIgnore
    protected boolean isset_config_value = false;
 
    private String config_type = null;
    @JsonIgnore
    protected boolean isset_config_type = false;
 
    private Long create_time = null;
    @JsonIgnore
    protected boolean isset_create_time = false;
 
    private String remark = null;
    @JsonIgnore
    protected boolean isset_remark = false;
 
    private String data_type = null;
    @JsonIgnore
    protected boolean isset_data_type = false;
 
    private String group_id = null;
    @JsonIgnore
    protected boolean isset_group_id = false;
 
    private Integer form_id = null;
    @JsonIgnore
    protected boolean isset_form_id = false;
 
    /**
     * 默认构造函数
     */
    public S_config() {
    }
 
    /**
     * 根据主键构造对象
     */
    public S_config(Long config_id) {
        this.setConfig_id(config_id);
    }
 
    /**
     * 设置主键值
     */
    @Override
    public void setPkValue(Object value) {
        this.setConfig_id((Long) value);
    }
 
            public Long getConfig_id() {
        return this.config_id;
    }
    public void setConfig_id(Long config_id) {
        this.config_id = config_id;
        this.isset_config_id = true;
    }
    @JsonIgnore
    public boolean isEmptyConfig_id() {
        return this.config_id == null;
    }
 
 
    public String getConfig_name() {
        return this.config_name;
    }
    public void setConfig_name(String config_name) {
        this.config_name = config_name;
        this.isset_config_name = true;
        // config_name, varchar
    }
    @JsonIgnore
    public boolean isEmptyConfig_name() {
        return this.config_name == null || this.config_name.length() == 0;
    }
 
 
    public String getConfig_key() {
        return this.config_key;
    }
    public void setConfig_key(String config_key) {
        this.config_key = config_key;
        this.isset_config_key = true;
        // config_key, varchar
    }
    @JsonIgnore
    public boolean isEmptyConfig_key() {
        return this.config_key == null || this.config_key.length() == 0;
    }
 
 
    public String getConfig_value() {
        return this.config_value;
    }
    public void setConfig_value(String config_value) {
        this.config_value = config_value;
        this.isset_config_value = true;
        // config_value, varchar
    }
    @JsonIgnore
    public boolean isEmptyConfig_value() {
        return this.config_value == null || this.config_value.length() == 0;
    }
 
 
    public String getConfig_type() {
        return this.config_type;
    }
    public void setConfig_type(String config_type) {
        this.config_type = config_type;
        this.isset_config_type = true;
        // config_type, varchar
    }
    @JsonIgnore
    public boolean isEmptyConfig_type() {
        return this.config_type == null || this.config_type.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;
        // create_time, bigint
    }
    @JsonIgnore
    public boolean isEmptyCreate_time() {
        return this.create_time == null;
    }
 
 
    public String getRemark() {
        return this.remark;
    }
    public void setRemark(String remark) {
        this.remark = remark;
        this.isset_remark = true;
        // remark, varchar
    }
    @JsonIgnore
    public boolean isEmptyRemark() {
        return this.remark == null || this.remark.length() == 0;
    }
 
 
    public String getData_type() {
        return this.data_type;
    }
    public void setData_type(String data_type) {
        this.data_type = data_type;
        this.isset_data_type = true;
        // data_type, varchar
    }
    @JsonIgnore
    public boolean isEmptyData_type() {
        return this.data_type == null || this.data_type.length() == 0;
    }
 
 
    public String getGroup_id() {
        return this.group_id;
    }
    public void setGroup_id(String group_id) {
        this.group_id = group_id;
        this.isset_group_id = true;
        // group_id, varchar
    }
    @JsonIgnore
    public boolean isEmptyGroup_id() {
        return this.group_id == null || this.group_id.length() == 0;
    }
 
 
    public Integer getForm_id() {
        return this.form_id;
    }
    public void setForm_id(Integer form_id) {
        this.form_id = form_id;
        this.isset_form_id = true;
        // form_id, int
    }
    @JsonIgnore
    public boolean isEmptyForm_id() {
        return this.form_id == null;
    }
 
 
    /**
     * 重写 toString() 方法
     */
    @Override
    public String toString() {
        return new StringBuilder()
                .append("config_id=").append(this.config_id)
                .append("config_name=").append(this.config_name)
                .append("config_key=").append(this.config_key)
                .append("config_value=").append(this.config_value)
                .append("config_type=").append(this.config_type)
                .append("create_time=").append(this.create_time)
                .append("remark=").append(this.remark)
                .append("data_type=").append(this.data_type)
                .append("group_id=").append(this.group_id)
                .append("form_id=").append(this.form_id)
                .toString();
    }
 
    /**
     * 克隆
     */
    public S_config $clone() {
        S_config s_config = new S_config();
 
        // 数据库名称
        //s_config.setDatabaseName_(this.getDatabaseName_());
 
        // 主键
        if (this.isset_config_id) {
            s_config.setConfig_id(this.getConfig_id());
        }
        // 普通属性
        if (this.isset_config_name) {
            s_config.setConfig_name(this.getConfig_name());
        }
        if (this.isset_config_key) {
            s_config.setConfig_key(this.getConfig_key());
        }
        if (this.isset_config_value) {
            s_config.setConfig_value(this.getConfig_value());
        }
        if (this.isset_config_type) {
            s_config.setConfig_type(this.getConfig_type());
        }
        if (this.isset_create_time) {
            s_config.setCreate_time(this.getCreate_time());
        }
        if (this.isset_remark) {
            s_config.setRemark(this.getRemark());
        }
        if (this.isset_data_type) {
            s_config.setData_type(this.getData_type());
        }
        if (this.isset_group_id) {
            s_config.setGroup_id(this.getGroup_id());
        }
        if (this.isset_form_id) {
            s_config.setForm_id(this.getForm_id());
        }
        return s_config;
    }
}