liuguocan
2023-11-28 3f69b4dfc585c4dfbc3c07a6acf5cdd838033636
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
 
package com.consum.model.po;
 
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.walker.jdbc.BasePo;
 
/**
 * 表名:WH_WARNING *
 * @author genrator
 */
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
public class WhWarning extends BasePo<WhWarning> {
    // 序列化版本号
    private static final long serialVersionUID = 1L;
 
    // 主键
    private Long id = null;
    @JsonIgnore
    protected boolean isset_id = false;
 
    // 属性列表
    private Integer warehouseType = null;
    @JsonIgnore
    protected boolean isset_warehouseType = false;
 
    private Long baseWarehouseId = null;
    @JsonIgnore
    protected boolean isset_baseWarehouseId = false;
 
    private String baseWarehouseName = null;
    @JsonIgnore
    protected boolean isset_baseWarehouseName = false;
 
    private Long baseGoodsTemplateId = null;
    @JsonIgnore
    protected boolean isset_baseGoodsTemplateId = false;
 
    private String baseGoodsTemplateName = null;
    @JsonIgnore
    protected boolean isset_baseGoodsTemplateName = false;
 
    private Long baseGoodsModelsId = null;
    @JsonIgnore
    protected boolean isset_baseGoodsModelsId = false;
 
    private String baseGoodsModelsName = null;
    @JsonIgnore
    protected boolean isset_baseGoodsModelsName = false;
 
    private Integer goodsType = null;
    @JsonIgnore
    protected boolean isset_goodsType = false;
 
    private Integer warningType = null;
    @JsonIgnore
    protected boolean isset_warningType = false;
 
    private Integer upperLimit = null;
    @JsonIgnore
    protected boolean isset_upperLimit = false;
 
    private Integer lowerLimit = null;
    @JsonIgnore
    protected boolean isset_lowerLimit = false;
 
    private Integer warehouseCount = null;
    @JsonIgnore
    protected boolean isset_warehouseCount = false;
 
    private Long warningTime = null;
    @JsonIgnore
    protected boolean isset_warningTime = false;
 
    private Integer states = null;
    @JsonIgnore
    protected boolean isset_states = false;
 
    private Long operatorId = null;
    @JsonIgnore
    protected boolean isset_operatorId = false;
 
    private String operatorName = null;
    @JsonIgnore
    protected boolean isset_operatorName = false;
 
    private Long dealTime = null;
    @JsonIgnore
    protected boolean isset_dealTime = false;
 
    private Long agencyId = null;
    @JsonIgnore
    protected boolean isset_agencyId = false;
 
    private String agencyName = null;
    @JsonIgnore
    protected boolean isset_agencyName = false;
 
    /**
     * 默认构造函数
     */
    public WhWarning() {
    }
 
    /**
     * 根据主键构造对象
     */
    public WhWarning(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 getWarehouseType() {
        return this.warehouseType;
    }
 
    public void setWarehouseType(Integer warehouseType) {
        this.warehouseType = warehouseType;
        this.isset_warehouseType = true;
    }
 
    @JsonIgnore
    public boolean isEmptyWarehouseType() {
        return this.warehouseType == null;
    }
 
    public Long getBaseWarehouseId() {
        return this.baseWarehouseId;
    }
 
    public void setBaseWarehouseId(Long baseWarehouseId) {
        this.baseWarehouseId = baseWarehouseId;
        this.isset_baseWarehouseId = true;
    }
 
    @JsonIgnore
    public boolean isEmptyBaseWarehouseId() {
        return this.baseWarehouseId == null;
    }
 
    public String getBaseWarehouseName() {
        return this.baseWarehouseName;
    }
 
    public void setBaseWarehouseName(String baseWarehouseName) {
        this.baseWarehouseName = baseWarehouseName;
        this.isset_baseWarehouseName = true;
    }
 
    @JsonIgnore
    public boolean isEmptyBaseWarehouseName() {
        return this.baseWarehouseName == null || this.baseWarehouseName.length() == 0;
    }
 
    public Long getBaseGoodsTemplateId() {
        return this.baseGoodsTemplateId;
    }
 
    public void setBaseGoodsTemplateId(Long baseGoodsTemplateId) {
        this.baseGoodsTemplateId = baseGoodsTemplateId;
        this.isset_baseGoodsTemplateId = true;
    }
 
    @JsonIgnore
    public boolean isEmptyBaseGoodsTemplateId() {
        return this.baseGoodsTemplateId == null;
    }
 
    public String getBaseGoodsTemplateName() {
        return this.baseGoodsTemplateName;
    }
 
    public void setBaseGoodsTemplateName(String baseGoodsTemplateName) {
        this.baseGoodsTemplateName = baseGoodsTemplateName;
        this.isset_baseGoodsTemplateName = true;
    }
 
    @JsonIgnore
    public boolean isEmptyBaseGoodsTemplateName() {
        return this.baseGoodsTemplateName == null || this.baseGoodsTemplateName.length() == 0;
    }
 
    public Long getBaseGoodsModelsId() {
        return this.baseGoodsModelsId;
    }
 
    public void setBaseGoodsModelsId(Long baseGoodsModelsId) {
        this.baseGoodsModelsId = baseGoodsModelsId;
        this.isset_baseGoodsModelsId = true;
    }
 
    @JsonIgnore
    public boolean isEmptyBaseGoodsModelsId() {
        return this.baseGoodsModelsId == null;
    }
 
    public String getBaseGoodsModelsName() {
        return this.baseGoodsModelsName;
    }
 
    public void setBaseGoodsModelsName(String baseGoodsModelsName) {
        this.baseGoodsModelsName = baseGoodsModelsName;
        this.isset_baseGoodsModelsName = true;
    }
 
    @JsonIgnore
    public boolean isEmptyBaseGoodsModelsName() {
        return this.baseGoodsModelsName == null || this.baseGoodsModelsName.length() == 0;
    }
 
    public Integer getGoodsType() {
        return this.goodsType;
    }
 
    public void setGoodsType(Integer goodsType) {
        this.goodsType = goodsType;
        this.isset_goodsType = true;
    }
 
    @JsonIgnore
    public boolean isEmptyGoodsType() {
        return this.goodsType == null;
    }
 
    public Integer getWarningType() {
        return this.warningType;
    }
 
    public void setWarningType(Integer warningType) {
        this.warningType = warningType;
        this.isset_warningType = true;
    }
 
    @JsonIgnore
    public boolean isEmptyWarningType() {
        return this.warningType == null;
    }
 
    public Integer getUpperLimit() {
        return this.upperLimit;
    }
 
    public void setUpperLimit(Integer upperLimit) {
        this.upperLimit = upperLimit;
        this.isset_upperLimit = true;
    }
 
    @JsonIgnore
    public boolean isEmptyUpperLimit() {
        return this.upperLimit == null;
    }
 
    public Integer getLowerLimit() {
        return this.lowerLimit;
    }
 
    public void setLowerLimit(Integer lowerLimit) {
        this.lowerLimit = lowerLimit;
        this.isset_lowerLimit = true;
    }
 
    @JsonIgnore
    public boolean isEmptyLowerLimit() {
        return this.lowerLimit == null;
    }
 
    public Integer getWarehouseCount() {
        return this.warehouseCount;
    }
 
    public void setWarehouseCount(Integer warehouseCount) {
        this.warehouseCount = warehouseCount;
        this.isset_warehouseCount = true;
    }
 
    @JsonIgnore
    public boolean isEmptyWarehouseCount() {
        return this.warehouseCount == null;
    }
 
    public Long getWarningTime() {
        return this.warningTime;
    }
 
    public void setWarningTime(Long warningTime) {
        this.warningTime = warningTime;
        this.isset_warningTime = true;
    }
 
    @JsonIgnore
    public boolean isEmptyWarningTime() {
        return this.warningTime == null;
    }
 
    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 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 Long getDealTime() {
        return this.dealTime;
    }
 
    public void setDealTime(Long dealTime) {
        this.dealTime = dealTime;
        this.isset_dealTime = true;
    }
 
    @JsonIgnore
    public boolean isEmptyDealTime() {
        return this.dealTime == null;
    }
 
    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;
    }
 
    /**
     * 重写 toString() 方法
     */
    @Override
    public String toString() {
        return new StringBuilder()
                .append("id=").append(this.id)
                .append("warehouseType=").append(this.warehouseType)
                .append("baseWarehouseId=").append(this.baseWarehouseId)
                .append("baseWarehouseName=").append(this.baseWarehouseName)
                .append("baseGoodsTemplateId=").append(this.baseGoodsTemplateId)
                .append("baseGoodsTemplateName=").append(this.baseGoodsTemplateName)
                .append("baseGoodsModelsId=").append(this.baseGoodsModelsId)
                .append("baseGoodsModelsName=").append(this.baseGoodsModelsName)
                .append("goodsType=").append(this.goodsType)
                .append("warningType=").append(this.warningType)
                .append("upperLimit=").append(this.upperLimit)
                .append("lowerLimit=").append(this.lowerLimit)
                .append("warehouseCount=").append(this.warehouseCount)
                .append("warningTime=").append(this.warningTime)
                .append("states=").append(this.states)
                .append("operatorId=").append(this.operatorId)
                .append("operatorName=").append(this.operatorName)
                .append("dealTime=").append(this.dealTime)
                .append("agencyId=").append(this.agencyId)
                .append("agencyName=").append(this.agencyName)
                .toString();
    }
 
    /**
     * 克隆
     */
    public WhWarning $clone() {
        WhWarning wh_warning = new WhWarning();
 
        // 数据库名称
        //wh_warning.setDatabaseName_(this.getDatabaseName_());
 
        // 主键
        if (this.isset_id) {
            wh_warning.setId(this.getId());
        }
        // 普通属性
        if (this.isset_warehouseType) {
            wh_warning.setWarehouseType(this.getWarehouseType());
        }
        if (this.isset_baseWarehouseId) {
            wh_warning.setBaseWarehouseId(this.getBaseWarehouseId());
        }
        if (this.isset_baseWarehouseName) {
            wh_warning.setBaseWarehouseName(this.getBaseWarehouseName());
        }
        if (this.isset_baseGoodsTemplateId) {
            wh_warning.setBaseGoodsTemplateId(this.getBaseGoodsTemplateId());
        }
        if (this.isset_baseGoodsTemplateName) {
            wh_warning.setBaseGoodsTemplateName(this.getBaseGoodsTemplateName());
        }
        if (this.isset_baseGoodsModelsId) {
            wh_warning.setBaseGoodsModelsId(this.getBaseGoodsModelsId());
        }
        if (this.isset_baseGoodsModelsName) {
            wh_warning.setBaseGoodsModelsName(this.getBaseGoodsModelsName());
        }
        if (this.isset_goodsType) {
            wh_warning.setGoodsType(this.getGoodsType());
        }
        if (this.isset_warningType) {
            wh_warning.setWarningType(this.getWarningType());
        }
        if (this.isset_upperLimit) {
            wh_warning.setUpperLimit(this.getUpperLimit());
        }
        if (this.isset_lowerLimit) {
            wh_warning.setLowerLimit(this.getLowerLimit());
        }
        if (this.isset_warehouseCount) {
            wh_warning.setWarehouseCount(this.getWarehouseCount());
        }
        if (this.isset_warningTime) {
            wh_warning.setWarningTime(this.getWarningTime());
        }
        if (this.isset_states) {
            wh_warning.setStates(this.getStates());
        }
        if (this.isset_operatorId) {
            wh_warning.setOperatorId(this.getOperatorId());
        }
        if (this.isset_operatorName) {
            wh_warning.setOperatorName(this.getOperatorName());
        }
        if (this.isset_dealTime) {
            wh_warning.setDealTime(this.getDealTime());
        }
        if (this.isset_agencyId) {
            wh_warning.setAgencyId(this.getAgencyId());
        }
        if (this.isset_agencyName) {
            wh_warning.setAgencyName(this.getAgencyName());
        }
        return wh_warning;
    }
}