郑永安
2023-06-19 f65443d8abeaedc9d102324565e8368e7c9d90c8
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
package com.gk.firework.Domain;
 
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
 
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
 
@TableName("saleorder")
public class SaleOrderInfo implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    /**   id **/
    @TableId(type = IdType.AUTO)
    private Long id;
 
    /** 订单号  code **/
    private String code;
 
    /** 创建时间  createdat **/
    private Date createdat;
 
    /** 创建人  createdby **/
    private String createdby;
 
    /** customer表ID  customer **/
    private Long customer;
 
    /** 身份证号  idcardnum **/
    private String idcardnum;
 
    /** 售货员  salesperson **/
    private String salesperson;
 
    /** 店铺  shop **/
    private String shop;
 
    /** 箱数  boxnum **/
    private BigDecimal boxnum;
 
    /** 总价  totalprice **/
    private BigDecimal totalprice;
 
    /** 收费  pay **/
    private BigDecimal pay;
 
    /** 找零  change **/
    @TableField("`change`")
    private BigDecimal change;
 
    /** 类型(1.零售;2.团购)  type **/
    private Byte type;
 
    /** 退货标记(默认:0;部分退货:1;全部退货:2) returnflag **/
    private Byte returnflag;
 
    /** 企业单位编号  companynumber **/
    private String companynumber;
 
    private Byte isupload;
 
    private Date uploadat;
 
    private String returncode;
 
    @TableField(exist = false)
    private List<SaleOrderDetailInfo> details;
 
    /**     id   **/
    public Long getId() {
        return id;
    }
 
    /**     id   **/
    public void setId(Long id) {
        this.id = id;
    }
 
    /**   订单号  code   **/
    public String getCode() {
        return code;
    }
 
    /**   订单号  code   **/
    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }
 
    /**   创建时间  createdat   **/
    public Date getCreatedat() {
        return createdat;
    }
 
    /**   创建时间  createdat   **/
    public void setCreatedat(Date createdat) {
        this.createdat = createdat;
    }
 
    /**   创建人  createdby   **/
    public String getCreatedby() {
        return createdby;
    }
 
    /**   创建人  createdby   **/
    public void setCreatedby(String createdby) {
        this.createdby = createdby == null ? null : createdby.trim();
    }
 
    /**   customer表ID  customer   **/
    public Long getCustomer() {
        return customer;
    }
 
    /**   customer表ID  customer   **/
    public void setCustomer(Long customer) {
        this.customer = customer;
    }
 
    /**   身份证号  idcardnum   **/
    public String getIdcardnum() {
        return idcardnum;
    }
 
    /**   身份证号  idcardnum   **/
    public void setIdcardnum(String idcardnum) {
        this.idcardnum = idcardnum == null ? null : idcardnum.trim();
    }
 
    /**   售货员  salesperson   **/
    public String getSalesperson() {
        return salesperson;
    }
 
    /**   售货员  salesperson   **/
    public void setSalesperson(String salesperson) {
        this.salesperson = salesperson == null ? null : salesperson.trim();
    }
 
    /**   店铺  shop   **/
    public String getShop() {
        return shop;
    }
 
    /**   店铺  shop   **/
    public void setShop(String shop) {
        this.shop = shop == null ? null : shop.trim();
    }
 
    /**   箱数  boxnum   **/
    public BigDecimal getBoxnum() {
        return boxnum;
    }
 
    /**   箱数  boxnum   **/
    public void setBoxnum(BigDecimal boxnum) {
        this.boxnum = boxnum;
    }
 
    /**   总价  totalprice   **/
    public BigDecimal getTotalprice() {
        return totalprice;
    }
 
    /**   总价  totalprice   **/
    public void setTotalprice(BigDecimal totalprice) {
        this.totalprice = totalprice;
    }
 
    /**   收费  pay   **/
    public BigDecimal getPay() {
        return pay;
    }
 
    /**   收费  pay   **/
    public void setPay(BigDecimal pay) {
        this.pay = pay;
    }
 
    /**   找零  change   **/
    public BigDecimal getChange() {
        return change;
    }
 
    /**   找零  change   **/
    public void setChange(BigDecimal change) {
        this.change = change;
    }
 
    public Byte getType() {
        return type;
    }
 
    public void setType(Byte type) {
        this.type = type;
    }
 
    public Byte getReturnflag() {
        return returnflag;
    }
 
    public void setReturnflag(Byte returnflag) {
        this.returnflag = returnflag;
    }
 
    public String getCompanynumber() {
        return companynumber;
    }
 
    public void setCompanynumber(String companynumber) {
        this.companynumber = companynumber;
    }
 
    public List<SaleOrderDetailInfo> getDetails() {
        return details;
    }
 
    public void setDetails(List<SaleOrderDetailInfo> details) {
        this.details = details;
    }
 
    public Byte getIsupload() {
        return isupload;
    }
 
    public void setIsupload(Byte isupload) {
        this.isupload = isupload;
    }
 
    public Date getUploadat() {
        return uploadat;
    }
 
    public void setUploadat(Date uploadat) {
        this.uploadat = uploadat;
    }
 
    public String getReturncode() {
        return returncode;
    }
 
    public void setReturncode(String returncode) {
        this.returncode = returncode;
    }
}