-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPerson.java
More file actions
51 lines (38 loc) · 1023 Bytes
/
Person.java
File metadata and controls
51 lines (38 loc) · 1023 Bytes
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
package com.chen.easypoi;
//import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
/**
* @author chen weijie
* @date 2018-01-19 12:06 AM
*/
public class Person {
// @Excel(name = "姓名", orderNum = "0")
private String name;
// @Excel(name = "性别", replace = {"男_1", "女_2"}, orderNum = "1")
private String sex;
// @Excel(name = "生日", exportFormat = "yyyy-MM-dd", orderNum = "2")
private Date birthday;
public Person(String name, String sex, Date birthday) {
this.name = name;
this.sex = sex;
this.birthday = birthday;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getSex() {
return sex;
}
public void setSex(String sex) {
this.sex = sex;
}
public Date getBirthday() {
return birthday;
}
public void setBirthday(Date birthday) {
this.birthday = birthday;
}
}