杨凯
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
 
package com.consum.model.po;
 
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.walker.jdbc.BasePo;
 
/**
 * 表名:WH_FORM_TRANSFER_MODEL *
 * @author genrator
 */
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
public class WhFormTransferModel extends BasePo<WhFormTransferModel> {
    // 序列化版本号
    private static final long serialVersionUID = 1L;
 
    // 主键
    private Long id = null;
    @JsonIgnore
    protected boolean isset_id = false;
 
    // 属性列表
    private Long whFormTransferId = null;
    @JsonIgnore
    protected boolean isset_whFormTransferId = false;
 
    private Integer worehouseCount = null;
    @JsonIgnore
    protected boolean isset_worehouseCount = false;
 
    private Integer counts = null;
    @JsonIgnore
    protected boolean isset_counts = false;
 
    private Long outWhGoodsDetailsId = null;
    @JsonIgnore
    protected boolean isset_outWhGoodsDetailsId = false;
 
    private Long inWhGoodsDetailsId = null;
    @JsonIgnore
    protected boolean isset_inWhGoodsDetailsId = false;
 
    private Long whGoodsId = null;
    @JsonIgnore
    protected boolean isset_whGoodsId = false;
 
    private Long whFormTransferGoodsId = null;
    @JsonIgnore
    protected boolean isset_whFormTransferGoodsId = false;
 
    /**
     * 默认构造函数
     */
    public WhFormTransferModel() {
    }
 
    /**
     * 根据主键构造对象
     */
    public WhFormTransferModel(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 getWhFormTransferId() {
        return this.whFormTransferId;
    }
 
    public void setWhFormTransferId(Long whFormTransferId) {
        this.whFormTransferId = whFormTransferId;
        this.isset_whFormTransferId = true;
    }
 
    @JsonIgnore
    public boolean isEmptyWhFormTransferId() {
        return this.whFormTransferId == null;
    }
 
    public Integer getWorehouseCount() {
        return this.worehouseCount;
    }
 
    public void setWorehouseCount(Integer worehouseCount) {
        this.worehouseCount = worehouseCount;
        this.isset_worehouseCount = true;
    }
 
    @JsonIgnore
    public boolean isEmptyWorehouseCount() {
        return this.worehouseCount == 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 Long getOutWhGoodsDetailsId() {
        return this.outWhGoodsDetailsId;
    }
 
    public void setOutWhGoodsDetailsId(Long outWhGoodsDetailsId) {
        this.outWhGoodsDetailsId = outWhGoodsDetailsId;
        this.isset_outWhGoodsDetailsId = true;
    }
 
    @JsonIgnore
    public boolean isEmptyOutWhGoodsDetailsId() {
        return this.outWhGoodsDetailsId == null;
    }
 
    public Long getInWhGoodsDetailsId() {
        return this.inWhGoodsDetailsId;
    }
 
    public void setInWhGoodsDetailsId(Long inWhGoodsDetailsId) {
        this.inWhGoodsDetailsId = inWhGoodsDetailsId;
        this.isset_inWhGoodsDetailsId = true;
    }
 
    @JsonIgnore
    public boolean isEmptyInWhGoodsDetailsId() {
        return this.inWhGoodsDetailsId == 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 getWhFormTransferGoodsId() {
        return this.whFormTransferGoodsId;
    }
 
    public void setWhFormTransferGoodsId(Long whFormTransferGoodsId) {
        this.whFormTransferGoodsId = whFormTransferGoodsId;
        this.isset_whFormTransferGoodsId = true;
    }
 
    @JsonIgnore
    public boolean isEmptyWhFormTransferGoodsId() {
        return this.whFormTransferGoodsId == null;
    }
 
    /**
     * 重写 toString() 方法
     */
    @Override
    public String toString() {
        return new StringBuilder()
                .append("id=").append(this.id)
                .append("whFormTransferId=").append(this.whFormTransferId)
                .append("worehouseCount=").append(this.worehouseCount)
                .append("counts=").append(this.counts)
                .append("outWhGoodsDetailsId=").append(this.outWhGoodsDetailsId)
                .append("inWhGoodsDetailsId=").append(this.inWhGoodsDetailsId)
                .append("whGoodsId=").append(this.whGoodsId)
                .append("whFormTransferGoodsId=").append(this.whFormTransferGoodsId)
                .toString();
    }
 
    /**
     * 克隆
     */
    public WhFormTransferModel $clone() {
        WhFormTransferModel wh_form_transfer_model = new WhFormTransferModel();
 
        // 数据库名称
        //wh_form_transfer_model.setDatabaseName_(this.getDatabaseName_());
 
        // 主键
        if (this.isset_id) {
            wh_form_transfer_model.setId(this.getId());
        }
        // 普通属性
        if (this.isset_whFormTransferId) {
            wh_form_transfer_model.setWhFormTransferId(this.getWhFormTransferId());
        }
        if (this.isset_worehouseCount) {
            wh_form_transfer_model.setWorehouseCount(this.getWorehouseCount());
        }
        if (this.isset_counts) {
            wh_form_transfer_model.setCounts(this.getCounts());
        }
        if (this.isset_outWhGoodsDetailsId) {
            wh_form_transfer_model.setOutWhGoodsDetailsId(this.getOutWhGoodsDetailsId());
        }
        if (this.isset_inWhGoodsDetailsId) {
            wh_form_transfer_model.setInWhGoodsDetailsId(this.getInWhGoodsDetailsId());
        }
        if (this.isset_whGoodsId) {
            wh_form_transfer_model.setWhGoodsId(this.getWhGoodsId());
        }
        if (this.isset_whFormTransferGoodsId) {
            wh_form_transfer_model.setWhFormTransferGoodsId(this.getWhFormTransferGoodsId());
        }
        return wh_form_transfer_model;
    }
}