对比新文件 |
| | |
| | | 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.util.Date; |
| | | |
| | | @TableName("customer") |
| | | public class CustomerInfo implements Serializable { |
| | | @TableField(exist = false) |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | public static final String GENDER_MALE = "男"; |
| | | public static final String GENDER_FEMALE = "女"; |
| | | |
| | | /** id **/ |
| | | @TableId(type = IdType.AUTO) |
| | | private Long id; |
| | | |
| | | /** 购买人 name **/ |
| | | private String name; |
| | | |
| | | /** 1.男性、2.女性 gender **/ |
| | | private Byte gender; |
| | | |
| | | /** 身份证号码 idcardnum **/ |
| | | private String idcardnum; |
| | | |
| | | /** 民族 nation **/ |
| | | private String nation; |
| | | |
| | | /** 出生年月日 bornday **/ |
| | | private Date bornday; |
| | | |
| | | /** 身份证住址 address **/ |
| | | private String address; |
| | | |
| | | /** 购买次数 frequency **/ |
| | | private Integer frequency; |
| | | |
| | | /** 购买单品数量 num **/ |
| | | private Integer num; |
| | | |
| | | /** 最近购买时间 lasttime **/ |
| | | private Date lasttime; |
| | | |
| | | /** 最近购买数量 lastnum **/ |
| | | private Integer lastnum; |
| | | |
| | | /** 创建时间 createddate **/ |
| | | private Date createddate; |
| | | |
| | | /** 更新时间 modifieddate **/ |
| | | private Date modifieddate; |
| | | |
| | | private String path; |
| | | |
| | | /** id **/ |
| | | public Long getId() { |
| | | return id; |
| | | } |
| | | |
| | | /** id **/ |
| | | public void setId(Long id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | /** 购买人 name **/ |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | /** 购买人 name **/ |
| | | public void setName(String name) { |
| | | this.name = name == null ? null : name.trim(); |
| | | } |
| | | |
| | | /** 1.男性、2.女性 gender **/ |
| | | public Byte getGender() { |
| | | return gender; |
| | | } |
| | | |
| | | /** 1.男性、2.女性 gender **/ |
| | | public void setGender(Byte gender) { |
| | | this.gender = gender; |
| | | } |
| | | |
| | | /** 身份证号码 idcardnum **/ |
| | | public String getIdcardnum() { |
| | | return idcardnum; |
| | | } |
| | | |
| | | /** 身份证号码 idcardnum **/ |
| | | public void setIdcardnum(String idcardnum) { |
| | | this.idcardnum = idcardnum == null ? null : idcardnum.trim(); |
| | | } |
| | | |
| | | /** 民族 nation **/ |
| | | public String getNation() { |
| | | return nation; |
| | | } |
| | | |
| | | /** 民族 nation **/ |
| | | public void setNation(String nation) { |
| | | this.nation = nation == null ? null : nation.trim(); |
| | | } |
| | | |
| | | /** 出生年月日 bornday **/ |
| | | public Date getBornday() { |
| | | return bornday; |
| | | } |
| | | |
| | | /** 出生年月日 bornday **/ |
| | | public void setBornday(Date bornday) { |
| | | this.bornday = bornday; |
| | | } |
| | | |
| | | /** 身份证住址 address **/ |
| | | public String getAddress() { |
| | | return address; |
| | | } |
| | | |
| | | /** 身份证住址 address **/ |
| | | public void setAddress(String address) { |
| | | this.address = address == null ? null : address.trim(); |
| | | } |
| | | |
| | | /** 购买次数 frequency **/ |
| | | public Integer getFrequency() { |
| | | return frequency; |
| | | } |
| | | |
| | | /** 购买次数 frequency **/ |
| | | public void setFrequency(Integer frequency) { |
| | | this.frequency = frequency; |
| | | } |
| | | |
| | | /** 购买单品数量 num **/ |
| | | public Integer getNum() { |
| | | return num; |
| | | } |
| | | |
| | | /** 购买单品数量 num **/ |
| | | public void setNum(Integer num) { |
| | | this.num = num; |
| | | } |
| | | |
| | | /** 最近购买时间 lasttime **/ |
| | | public Date getLasttime() { |
| | | return lasttime; |
| | | } |
| | | |
| | | /** 最近购买时间 lasttime **/ |
| | | public void setLasttime(Date lasttime) { |
| | | this.lasttime = lasttime; |
| | | } |
| | | |
| | | /** 最近购买数量 lastnum **/ |
| | | public Integer getLastnum() { |
| | | return lastnum; |
| | | } |
| | | |
| | | /** 最近购买数量 lastnum **/ |
| | | public void setLastnum(Integer lastnum) { |
| | | this.lastnum = lastnum; |
| | | } |
| | | |
| | | /** 创建时间 createddate **/ |
| | | public Date getCreateddate() { |
| | | return createddate; |
| | | } |
| | | |
| | | /** 创建时间 createddate **/ |
| | | public void setCreateddate(Date createddate) { |
| | | this.createddate = createddate; |
| | | } |
| | | |
| | | /** 更新时间 modifieddate **/ |
| | | public Date getModifieddate() { |
| | | return modifieddate; |
| | | } |
| | | |
| | | /** 更新时间 modifieddate **/ |
| | | public void setModifieddate(Date modifieddate) { |
| | | this.modifieddate = modifieddate; |
| | | } |
| | | |
| | | public CustomerInfo() { |
| | | } |
| | | |
| | | public CustomerInfo(String name, String idCardNum) { |
| | | this.name = name; |
| | | this.idcardnum = idCardNum; |
| | | } |
| | | |
| | | public CustomerInfo(String name, Byte gender, String idcardnum, String nation, Date bornday, String address) { |
| | | this.name = name; |
| | | this.gender = gender; |
| | | this.idcardnum = idcardnum; |
| | | this.nation = nation; |
| | | this.bornday = bornday; |
| | | this.address = address; |
| | | } |
| | | |
| | | |
| | | public String getPath() { |
| | | return path; |
| | | } |
| | | |
| | | public void setPath(String path) { |
| | | this.path = path; |
| | | } |
| | | } |