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/CustomerInfo.java | 216 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 216 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/gk/firework/Domain/CustomerInfo.java b/src/main/java/com/gk/firework/Domain/CustomerInfo.java new file mode 100644 index 0000000..4dad440 --- /dev/null +++ b/src/main/java/com/gk/firework/Domain/CustomerInfo.java @@ -0,0 +1,216 @@ +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; + } +} -- Gitblit v1.9.2