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;
|
}
|
}
|