郑永安
2023-06-19 59e91a4e9ddaf23cebb12993c774aa899ab22d16
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
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;
    }
}