杨凯
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
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
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
 
package com.consum.model.po;
 
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.walker.jdbc.BasePo;
 
/**
 * 表名:WH_FORM_INVENTORY *
 * @author genrator
 */
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
public class WhFormInventory extends BasePo<WhFormInventory> {
    // 序列化版本号
    private static final long serialVersionUID = 1L;
 
    // 主键
    private Long id = null;
    @JsonIgnore
    protected boolean isset_id = false;
 
    // 属性列表
    private String businessFormCode = null;
    @JsonIgnore
    protected boolean isset_businessFormCode = false;
 
    private String businessFormName = null;
    @JsonIgnore
    protected boolean isset_businessFormName = false;
 
    private Long warehouseId = null;
    @JsonIgnore
    protected boolean isset_warehouseId = false;
 
    private String warehouseName = null;
    @JsonIgnore
    protected boolean isset_warehouseName = false;
 
    private Long operatorId = null;
    @JsonIgnore
    protected boolean isset_operatorId = false;
 
    private String operatorName = null;
    @JsonIgnore
    protected boolean isset_operatorName = false;
 
    private Integer states = null;
    @JsonIgnore
    protected boolean isset_states = false;
 
    private Long operatorId2 = null;
    @JsonIgnore
    protected boolean isset_operatorId2 = false;
 
    private String operatorName2 = null;
    @JsonIgnore
    protected boolean isset_operatorName2 = false;
 
    private Integer isMoreThanBefore = null;
    @JsonIgnore
    protected boolean isset_isMoreThanBefore = false;
 
    private Integer isLessThanBefore = null;
    @JsonIgnore
    protected boolean isset_isLessThanBefore = false;
 
    private String beiz1 = null;
    @JsonIgnore
    protected boolean isset_beiz1 = false;
 
    private String beiz2 = null;
    @JsonIgnore
    protected boolean isset_beiz2 = false;
 
    private Long agencyId = null;
    @JsonIgnore
    protected boolean isset_agencyId = false;
 
    private String agencyName = null;
    @JsonIgnore
    protected boolean isset_agencyName = false;
 
    private Long creatorId = null;
    @JsonIgnore
    protected boolean isset_creatorId = false;
 
    private String creatorName = null;
    @JsonIgnore
    protected boolean isset_creatorName = false;
 
    private Long inventoryDate = null;
    @JsonIgnore
    protected boolean isset_inventoryDate = false;
 
    private Long createTime = null;
    @JsonIgnore
    protected boolean isset_createTime = false;
 
    private Long stopTime = null;
    @JsonIgnore
    protected boolean isset_stopTime = false;
 
    /**
     * 默认构造函数
     */
    public WhFormInventory() {
    }
 
    /**
     * 根据主键构造对象
     */
    public WhFormInventory(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 String getBusinessFormCode() {
        return this.businessFormCode;
    }
 
    public void setBusinessFormCode(String businessFormCode) {
        this.businessFormCode = businessFormCode;
        this.isset_businessFormCode = true;
    }
 
    @JsonIgnore
    public boolean isEmptyBusinessFormCode() {
        return this.businessFormCode == null || this.businessFormCode.length() == 0;
    }
 
    public String getBusinessFormName() {
        return this.businessFormName;
    }
 
    public void setBusinessFormName(String businessFormName) {
        this.businessFormName = businessFormName;
        this.isset_businessFormName = true;
    }
 
    @JsonIgnore
    public boolean isEmptyBusinessFormName() {
        return this.businessFormName == null || this.businessFormName.length() == 0;
    }
 
    public Long getWarehouseId() {
        return this.warehouseId;
    }
 
    public void setWarehouseId(Long warehouseId) {
        this.warehouseId = warehouseId;
        this.isset_warehouseId = true;
    }
 
    @JsonIgnore
    public boolean isEmptyWarehouseId() {
        return this.warehouseId == null;
    }
 
    public String getWarehouseName() {
        return this.warehouseName;
    }
 
    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
        this.isset_warehouseName = true;
    }
 
    @JsonIgnore
    public boolean isEmptyWarehouseName() {
        return this.warehouseName == null || this.warehouseName.length() == 0;
    }
 
    public Long getOperatorId() {
        return this.operatorId;
    }
 
    public void setOperatorId(Long operatorId) {
        this.operatorId = operatorId;
        this.isset_operatorId = true;
    }
 
    @JsonIgnore
    public boolean isEmptyOperatorId() {
        return this.operatorId == null;
    }
 
    public String getOperatorName() {
        return this.operatorName;
    }
 
    public void setOperatorName(String operatorName) {
        this.operatorName = operatorName;
        this.isset_operatorName = true;
    }
 
    @JsonIgnore
    public boolean isEmptyOperatorName() {
        return this.operatorName == null || this.operatorName.length() == 0;
    }
 
    public Integer getStates() {
        return this.states;
    }
 
    public void setStates(Integer states) {
        this.states = states;
        this.isset_states = true;
    }
 
    @JsonIgnore
    public boolean isEmptyStates() {
        return this.states == null;
    }
 
    public Long getOperatorId2() {
        return this.operatorId2;
    }
 
    public void setOperatorId2(Long operatorId2) {
        this.operatorId2 = operatorId2;
        this.isset_operatorId2 = true;
    }
 
    @JsonIgnore
    public boolean isEmptyOperatorId2() {
        return this.operatorId2 == null;
    }
 
    public String getOperatorName2() {
        return this.operatorName2;
    }
 
    public void setOperatorName2(String operatorName2) {
        this.operatorName2 = operatorName2;
        this.isset_operatorName2 = true;
    }
 
    @JsonIgnore
    public boolean isEmptyOperatorName2() {
        return this.operatorName2 == null || this.operatorName2.length() == 0;
    }
 
    public Integer getIsMoreThanBefore() {
        return this.isMoreThanBefore;
    }
 
    public void setIsMoreThanBefore(Integer isMoreThanBefore) {
        this.isMoreThanBefore = isMoreThanBefore;
        this.isset_isMoreThanBefore = true;
    }
 
    @JsonIgnore
    public boolean isEmptyIsMoreThanBefore() {
        return this.isMoreThanBefore == null;
    }
 
    public Integer getIsLessThanBefore() {
        return this.isLessThanBefore;
    }
 
    public void setIsLessThanBefore(Integer isLessThanBefore) {
        this.isLessThanBefore = isLessThanBefore;
        this.isset_isLessThanBefore = true;
    }
 
    @JsonIgnore
    public boolean isEmptyIsLessThanBefore() {
        return this.isLessThanBefore == null;
    }
 
    public String getBeiz1() {
        return this.beiz1;
    }
 
    public void setBeiz1(String beiz1) {
        this.beiz1 = beiz1;
        this.isset_beiz1 = true;
    }
 
    @JsonIgnore
    public boolean isEmptyBeiz1() {
        return this.beiz1 == null || this.beiz1.length() == 0;
    }
 
    public String getBeiz2() {
        return this.beiz2;
    }
 
    public void setBeiz2(String beiz2) {
        this.beiz2 = beiz2;
        this.isset_beiz2 = true;
    }
 
    @JsonIgnore
    public boolean isEmptyBeiz2() {
        return this.beiz2 == null || this.beiz2.length() == 0;
    }
 
    public Long getAgencyId() {
        return this.agencyId;
    }
 
    public void setAgencyId(Long agencyId) {
        this.agencyId = agencyId;
        this.isset_agencyId = true;
    }
 
    @JsonIgnore
    public boolean isEmptyAgencyId() {
        return this.agencyId == null;
    }
 
    public String getAgencyName() {
        return this.agencyName;
    }
 
    public void setAgencyName(String agencyName) {
        this.agencyName = agencyName;
        this.isset_agencyName = true;
    }
 
    @JsonIgnore
    public boolean isEmptyAgencyName() {
        return this.agencyName == null || this.agencyName.length() == 0;
    }
 
    public Long getCreatorId() {
        return this.creatorId;
    }
 
    public void setCreatorId(Long creatorId) {
        this.creatorId = creatorId;
        this.isset_creatorId = true;
    }
 
    @JsonIgnore
    public boolean isEmptyCreatorId() {
        return this.creatorId == null;
    }
 
    public String getCreatorName() {
        return this.creatorName;
    }
 
    public void setCreatorName(String creatorName) {
        this.creatorName = creatorName;
        this.isset_creatorName = true;
    }
 
    @JsonIgnore
    public boolean isEmptyCreatorName() {
        return this.creatorName == null || this.creatorName.length() == 0;
    }
 
    public Long getInventoryDate() {
        return this.inventoryDate;
    }
 
    public void setInventoryDate(Long inventoryDate) {
        this.inventoryDate = inventoryDate;
        this.isset_inventoryDate = true;
    }
 
    @JsonIgnore
    public boolean isEmptyInventoryDate() {
        return this.inventoryDate == null;
    }
 
    public Long getCreateTime() {
        return this.createTime;
    }
 
    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
        this.isset_createTime = true;
    }
 
    @JsonIgnore
    public boolean isEmptyCreateTime() {
        return this.createTime == null;
    }
 
    public Long getStopTime() {
        return this.stopTime;
    }
 
    public void setStopTime(Long stopTime) {
        this.stopTime = stopTime;
        this.isset_stopTime = true;
    }
 
    @JsonIgnore
    public boolean isEmptyStopTime() {
        return this.stopTime == null;
    }
 
    /**
     * 重写 toString() 方法
     */
    @Override
    public String toString() {
        return new StringBuilder()
                .append("id=").append(this.id)
                .append("businessFormCode=").append(this.businessFormCode)
                .append("businessFormName=").append(this.businessFormName)
                .append("warehouseId=").append(this.warehouseId)
                .append("warehouseName=").append(this.warehouseName)
                .append("operatorId=").append(this.operatorId)
                .append("operatorName=").append(this.operatorName)
                .append("states=").append(this.states)
                .append("operatorId2=").append(this.operatorId2)
                .append("operatorName2=").append(this.operatorName2)
                .append("isMoreThanBefore=").append(this.isMoreThanBefore)
                .append("isLessThanBefore=").append(this.isLessThanBefore)
                .append("beiz1=").append(this.beiz1)
                .append("beiz2=").append(this.beiz2)
                .append("agencyId=").append(this.agencyId)
                .append("agencyName=").append(this.agencyName)
                .append("creatorId=").append(this.creatorId)
                .append("creatorName=").append(this.creatorName)
                .append("inventoryDate=").append(this.inventoryDate)
                .append("createTime=").append(this.createTime)
                .append("stopTime=").append(this.stopTime)
                .toString();
    }
 
    /**
     * 克隆
     */
    public WhFormInventory $clone() {
        WhFormInventory wh_form_inventory = new WhFormInventory();
 
        // 数据库名称
        //wh_form_inventory.setDatabaseName_(this.getDatabaseName_());
 
        // 主键
        if (this.isset_id) {
            wh_form_inventory.setId(this.getId());
        }
        // 普通属性
        if (this.isset_businessFormCode) {
            wh_form_inventory.setBusinessFormCode(this.getBusinessFormCode());
        }
        if (this.isset_businessFormName) {
            wh_form_inventory.setBusinessFormName(this.getBusinessFormName());
        }
        if (this.isset_warehouseId) {
            wh_form_inventory.setWarehouseId(this.getWarehouseId());
        }
        if (this.isset_warehouseName) {
            wh_form_inventory.setWarehouseName(this.getWarehouseName());
        }
        if (this.isset_operatorId) {
            wh_form_inventory.setOperatorId(this.getOperatorId());
        }
        if (this.isset_operatorName) {
            wh_form_inventory.setOperatorName(this.getOperatorName());
        }
        if (this.isset_states) {
            wh_form_inventory.setStates(this.getStates());
        }
        if (this.isset_operatorId2) {
            wh_form_inventory.setOperatorId2(this.getOperatorId2());
        }
        if (this.isset_operatorName2) {
            wh_form_inventory.setOperatorName2(this.getOperatorName2());
        }
        if (this.isset_isMoreThanBefore) {
            wh_form_inventory.setIsMoreThanBefore(this.getIsMoreThanBefore());
        }
        if (this.isset_isLessThanBefore) {
            wh_form_inventory.setIsLessThanBefore(this.getIsLessThanBefore());
        }
        if (this.isset_beiz1) {
            wh_form_inventory.setBeiz1(this.getBeiz1());
        }
        if (this.isset_beiz2) {
            wh_form_inventory.setBeiz2(this.getBeiz2());
        }
        if (this.isset_agencyId) {
            wh_form_inventory.setAgencyId(this.getAgencyId());
        }
        if (this.isset_agencyName) {
            wh_form_inventory.setAgencyName(this.getAgencyName());
        }
        if (this.isset_creatorId) {
            wh_form_inventory.setCreatorId(this.getCreatorId());
        }
        if (this.isset_creatorName) {
            wh_form_inventory.setCreatorName(this.getCreatorName());
        }
        if (this.isset_inventoryDate) {
            wh_form_inventory.setInventoryDate(this.getInventoryDate());
        }
        if (this.isset_createTime) {
            wh_form_inventory.setCreateTime(this.getCreateTime());
        }
        if (this.isset_stopTime) {
            wh_form_inventory.setStopTime(this.getStopTime());
        }
        return wh_form_inventory;
    }
}