From f65443d8abeaedc9d102324565e8368e7c9d90c8 Mon Sep 17 00:00:00 2001 From: 郑永安 <zyazyz250@sina.com> Date: 星期一, 19 六月 2023 14:41:54 +0800 Subject: [PATCH] commit --- src/main/java/com/gk/firework/Domain/SaleOrderInfo.java | 249 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 249 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/gk/firework/Domain/SaleOrderInfo.java b/src/main/java/com/gk/firework/Domain/SaleOrderInfo.java new file mode 100644 index 0000000..581c9a1 --- /dev/null +++ b/src/main/java/com/gk/firework/Domain/SaleOrderInfo.java @@ -0,0 +1,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; + } +} -- Gitblit v1.9.2