杨凯
2023-10-17 e7c9fc40786f387f2c0d65e10294317480b0f621
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
 
package com.consum.model.po;
 
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.walker.jdbc.BasePo;
 
/**
 * 表名:WH_FORM_SCRAPPED_MODEL *
 * @author genrator
 */
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
public class WhFormScrappedModel extends BasePo<WhFormScrappedModel> {
    // 序列化版本号
    private static final long serialVersionUID = 1L;
 
    // 主键
    private Long id = null;
    @JsonIgnore
    protected boolean isset_id = false;
 
    // 属性列表
    private Integer counts = null;
    @JsonIgnore
    protected boolean isset_counts = false;
 
    private String scrappedCode = null;
    @JsonIgnore
    protected boolean isset_scrappedCode = false;
 
    private String scrappedName = null;
    @JsonIgnore
    protected boolean isset_scrappedName = false;
 
    private String beiz = null;
    @JsonIgnore
    protected boolean isset_beiz = false;
 
    private Long depGoodsDetailsId = null;
    @JsonIgnore
    protected boolean isset_depGoodsDetailsId = false;
 
    private Long depFormScrappedId = null;
    @JsonIgnore
    protected boolean isset_depFormScrappedId = false;
 
    private Long whGoodsId = null;
    @JsonIgnore
    protected boolean isset_whGoodsId = false;
 
    private Long whFormScrappedGoodsId = null;
    @JsonIgnore
    protected boolean isset_whFormScrappedGoodsId = false;
 
    /**
     * 默认构造函数
     */
    public WhFormScrappedModel() {
    }
 
    /**
     * 根据主键构造对象
     */
    public WhFormScrappedModel(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 Integer getCounts() {
        return this.counts;
    }
 
    public void setCounts(Integer counts) {
        this.counts = counts;
        this.isset_counts = true;
    }
 
    @JsonIgnore
    public boolean isEmptyCounts() {
        return this.counts == null;
    }
 
    public String getScrappedCode() {
        return this.scrappedCode;
    }
 
    public void setScrappedCode(String scrappedCode) {
        this.scrappedCode = scrappedCode;
        this.isset_scrappedCode = true;
    }
 
    @JsonIgnore
    public boolean isEmptyScrappedCode() {
        return this.scrappedCode == null || this.scrappedCode.length() == 0;
    }
 
    public String getScrappedName() {
        return this.scrappedName;
    }
 
    public void setScrappedName(String scrappedName) {
        this.scrappedName = scrappedName;
        this.isset_scrappedName = true;
    }
 
    @JsonIgnore
    public boolean isEmptyScrappedName() {
        return this.scrappedName == null || this.scrappedName.length() == 0;
    }
 
    public String getBeiz() {
        return this.beiz;
    }
 
    public void setBeiz(String beiz) {
        this.beiz = beiz;
        this.isset_beiz = true;
    }
 
    @JsonIgnore
    public boolean isEmptyBeiz() {
        return this.beiz == null || this.beiz.length() == 0;
    }
 
    public Long getDepGoodsDetailsId() {
        return this.depGoodsDetailsId;
    }
 
    public void setDepGoodsDetailsId(Long depGoodsDetailsId) {
        this.depGoodsDetailsId = depGoodsDetailsId;
        this.isset_depGoodsDetailsId = true;
    }
 
    @JsonIgnore
    public boolean isEmptyDepGoodsDetailsId() {
        return this.depGoodsDetailsId == null;
    }
 
    public Long getDepFormScrappedId() {
        return this.depFormScrappedId;
    }
 
    public void setDepFormScrappedId(Long depFormScrappedId) {
        this.depFormScrappedId = depFormScrappedId;
        this.isset_depFormScrappedId = true;
    }
 
    @JsonIgnore
    public boolean isEmptyDepFormScrappedId() {
        return this.depFormScrappedId == null;
    }
 
    public Long getWhGoodsId() {
        return this.whGoodsId;
    }
 
    public void setWhGoodsId(Long whGoodsId) {
        this.whGoodsId = whGoodsId;
        this.isset_whGoodsId = true;
    }
 
    @JsonIgnore
    public boolean isEmptyWhGoodsId() {
        return this.whGoodsId == null;
    }
 
    public Long getWhFormScrappedGoodsId() {
        return this.whFormScrappedGoodsId;
    }
 
    public void setWhFormScrappedGoodsId(Long whFormScrappedGoodsId) {
        this.whFormScrappedGoodsId = whFormScrappedGoodsId;
        this.isset_whFormScrappedGoodsId = true;
    }
 
    @JsonIgnore
    public boolean isEmptyWhFormScrappedGoodsId() {
        return this.whFormScrappedGoodsId == null;
    }
 
    /**
     * 重写 toString() 方法
     */
    @Override
    public String toString() {
        return new StringBuilder()
                .append("id=").append(this.id)
                .append("counts=").append(this.counts)
                .append("scrappedCode=").append(this.scrappedCode)
                .append("scrappedName=").append(this.scrappedName)
                .append("beiz=").append(this.beiz)
                .append("depGoodsDetailsId=").append(this.depGoodsDetailsId)
                .append("depFormScrappedId=").append(this.depFormScrappedId)
                .append("whGoodsId=").append(this.whGoodsId)
                .append("whFormScrappedGoodsId=").append(this.whFormScrappedGoodsId)
                .toString();
    }
 
    /**
     * 克隆
     */
    public WhFormScrappedModel $clone() {
        WhFormScrappedModel wh_form_scrapped_model = new WhFormScrappedModel();
 
        // 数据库名称
        //wh_form_scrapped_model.setDatabaseName_(this.getDatabaseName_());
 
        // 主键
        if (this.isset_id) {
            wh_form_scrapped_model.setId(this.getId());
        }
        // 普通属性
        if (this.isset_counts) {
            wh_form_scrapped_model.setCounts(this.getCounts());
        }
        if (this.isset_scrappedCode) {
            wh_form_scrapped_model.setScrappedCode(this.getScrappedCode());
        }
        if (this.isset_scrappedName) {
            wh_form_scrapped_model.setScrappedName(this.getScrappedName());
        }
        if (this.isset_beiz) {
            wh_form_scrapped_model.setBeiz(this.getBeiz());
        }
        if (this.isset_depGoodsDetailsId) {
            wh_form_scrapped_model.setDepGoodsDetailsId(this.getDepGoodsDetailsId());
        }
        if (this.isset_depFormScrappedId) {
            wh_form_scrapped_model.setDepFormScrappedId(this.getDepFormScrappedId());
        }
        if (this.isset_whGoodsId) {
            wh_form_scrapped_model.setWhGoodsId(this.getWhGoodsId());
        }
        if (this.isset_whFormScrappedGoodsId) {
            wh_form_scrapped_model.setWhFormScrappedGoodsId(this.getWhFormScrappedGoodsId());
        }
        return wh_form_scrapped_model;
    }
}