石广澎
2024-01-02 0cd1631ceaa93e6483908fd692d2cb693b85324b
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
 
package com.consum.model.po;
 
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.walker.jdbc.BasePo;
 
/**
 * 表名:WH_FORM_OUTPUT_MODEL *
 * @author genrator
 */
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
public class WhFormOutputModel extends BasePo<WhFormOutputModel> {
    // 序列化版本号
    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 Long outWhGoodsDetailsId = null;
    @JsonIgnore
    protected boolean isset_outWhGoodsDetailsId = false;
 
    private Long whGoodsId = null;
    @JsonIgnore
    protected boolean isset_whGoodsId = false;
 
    private Long whFormOutputId = null;
    @JsonIgnore
    protected boolean isset_whFormOutputId = false;
 
    private Long whFormOutputGoodsId = null;
    @JsonIgnore
    protected boolean isset_whFormOutputGoodsId = false;
 
    /**
     * 默认构造函数
     */
    public WhFormOutputModel() {
    }
 
    /**
     * 根据主键构造对象
     */
    public WhFormOutputModel(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 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 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 getWhFormOutputId() {
        return this.whFormOutputId;
    }
 
    public void setWhFormOutputId(Long whFormOutputId) {
        this.whFormOutputId = whFormOutputId;
        this.isset_whFormOutputId = true;
    }
 
    @JsonIgnore
    public boolean isEmptyWhFormOutputId() {
        return this.whFormOutputId == null;
    }
 
    public Long getWhFormOutputGoodsId() {
        return this.whFormOutputGoodsId;
    }
 
    public void setWhFormOutputGoodsId(Long whFormOutputGoodsId) {
        this.whFormOutputGoodsId = whFormOutputGoodsId;
        this.isset_whFormOutputGoodsId = true;
    }
 
    @JsonIgnore
    public boolean isEmptyWhFormOutputGoodsId() {
        return this.whFormOutputGoodsId == null;
    }
 
    /**
     * 重写 toString() 方法
     */
    @Override
    public String toString() {
        return new StringBuilder()
                .append("id=").append(this.id)
                .append("counts=").append(this.counts)
                .append("outWhGoodsDetailsId=").append(this.outWhGoodsDetailsId)
                .append("whGoodsId=").append(this.whGoodsId)
                .append("whFormOutputId=").append(this.whFormOutputId)
                .append("whFormOutputGoodsId=").append(this.whFormOutputGoodsId)
                .toString();
    }
 
    /**
     * 克隆
     */
    public WhFormOutputModel $clone() {
        WhFormOutputModel wh_form_output_model = new WhFormOutputModel();
 
        // 数据库名称
        //wh_form_output_model.setDatabaseName_(this.getDatabaseName_());
 
        // 主键
        if (this.isset_id) {
            wh_form_output_model.setId(this.getId());
        }
        // 普通属性
        if (this.isset_counts) {
            wh_form_output_model.setCounts(this.getCounts());
        }
        if (this.isset_outWhGoodsDetailsId) {
            wh_form_output_model.setOutWhGoodsDetailsId(this.getOutWhGoodsDetailsId());
        }
        if (this.isset_whGoodsId) {
            wh_form_output_model.setWhGoodsId(this.getWhGoodsId());
        }
        if (this.isset_whFormOutputId) {
            wh_form_output_model.setWhFormOutputId(this.getWhFormOutputId());
        }
        if (this.isset_whFormOutputGoodsId) {
            wh_form_output_model.setWhFormOutputGoodsId(this.getWhFormOutputGoodsId());
        }
        return wh_form_output_model;
    }
}