杨凯
2023-10-18 caf451f76ac30aa222230e0bc2d0d7cb9f420bdf
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
 
package com.consum.model.po;
 
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.walker.jdbc.BasePo;
 
/**
 * 表名:DEP_FORM_BACK_GOODS *
 * @author genrator
 */
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
public class DepFormBackGoods extends BasePo<DepFormBackGoods> {
    // 序列化版本号
    private static final long serialVersionUID = 1L;
 
    // 主键
    private Long id = null;
    @JsonIgnore
    protected boolean isset_id = false;
 
    // 属性列表
    private Long depFormBackId = null;
    @JsonIgnore
    protected boolean isset_depFormBackId = false;
 
    private String unit = null;
    @JsonIgnore
    protected boolean isset_unit = false;
 
    private Integer backCounts = null;
    @JsonIgnore
    protected boolean isset_backCounts = false;
 
    private Integer initCount = null;
    @JsonIgnore
    protected boolean isset_initCount = false;
 
    private Long depFormLendingGoodsId = null;
    @JsonIgnore
    protected boolean isset_depFormLendingGoodsId = false;
 
    private Integer endCount = null;
    @JsonIgnore
    protected boolean isset_endCount = false;
 
    /**
     * 默认构造函数
     */
    public DepFormBackGoods() {
    }
 
    /**
     * 根据主键构造对象
     */
    public DepFormBackGoods(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 getDepFormBackId() {
        return this.depFormBackId;
    }
 
    public void setDepFormBackId(Long depFormBackId) {
        this.depFormBackId = depFormBackId;
        this.isset_depFormBackId = true;
    }
 
    @JsonIgnore
    public boolean isEmptyDepFormBackId() {
        return this.depFormBackId == null;
    }
 
    public String getUnit() {
        return this.unit;
    }
 
    public void setUnit(String unit) {
        this.unit = unit;
        this.isset_unit = true;
    }
 
    @JsonIgnore
    public boolean isEmptyUnit() {
        return this.unit == null || this.unit.length() == 0;
    }
 
    public Integer getBackCounts() {
        return this.backCounts;
    }
 
    public void setBackCounts(Integer backCounts) {
        this.backCounts = backCounts;
        this.isset_backCounts = true;
    }
 
    @JsonIgnore
    public boolean isEmptyBackCounts() {
        return this.backCounts == null;
    }
 
    public Integer getInitCount() {
        return this.initCount;
    }
 
    public void setInitCount(Integer initCount) {
        this.initCount = initCount;
        this.isset_initCount = true;
    }
 
    @JsonIgnore
    public boolean isEmptyInitCount() {
        return this.initCount == null;
    }
 
    public Long getDepFormLendingGoodsId() {
        return this.depFormLendingGoodsId;
    }
 
    public void setDepFormLendingGoodsId(Long depFormLendingGoodsId) {
        this.depFormLendingGoodsId = depFormLendingGoodsId;
        this.isset_depFormLendingGoodsId = true;
    }
 
    @JsonIgnore
    public boolean isEmptyDepFormLendingGoodsId() {
        return this.depFormLendingGoodsId == null;
    }
 
    public Integer getEndCount() {
        return this.endCount;
    }
 
    public void setEndCount(Integer endCount) {
        this.endCount = endCount;
        this.isset_endCount = true;
    }
 
    @JsonIgnore
    public boolean isEmptyEndCount() {
        return this.endCount == null;
    }
 
    /**
     * 重写 toString() 方法
     */
    @Override
    public String toString() {
        return new StringBuilder()
                .append("id=").append(this.id)
                .append("depFormBackId=").append(this.depFormBackId)
                .append("unit=").append(this.unit)
                .append("backCounts=").append(this.backCounts)
                .append("initCount=").append(this.initCount)
                .append("depFormLendingGoodsId=").append(this.depFormLendingGoodsId)
                .append("endCount=").append(this.endCount)
                .toString();
    }
 
    /**
     * 克隆
     */
    public DepFormBackGoods $clone() {
        DepFormBackGoods dep_form_back_goods = new DepFormBackGoods();
 
        // 数据库名称
        //dep_form_back_goods.setDatabaseName_(this.getDatabaseName_());
 
        // 主键
        if (this.isset_id) {
            dep_form_back_goods.setId(this.getId());
        }
        // 普通属性
        if (this.isset_depFormBackId) {
            dep_form_back_goods.setDepFormBackId(this.getDepFormBackId());
        }
        if (this.isset_unit) {
            dep_form_back_goods.setUnit(this.getUnit());
        }
        if (this.isset_backCounts) {
            dep_form_back_goods.setBackCounts(this.getBackCounts());
        }
        if (this.isset_initCount) {
            dep_form_back_goods.setInitCount(this.getInitCount());
        }
        if (this.isset_depFormLendingGoodsId) {
            dep_form_back_goods.setDepFormLendingGoodsId(this.getDepFormLendingGoodsId());
        }
        if (this.isset_endCount) {
            dep_form_back_goods.setEndCount(this.getEndCount());
        }
        return dep_form_back_goods;
    }
}