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
| package org.springblade.jfpt.healthcode.vo;
|
| import com.alibaba.excel.annotation.ExcelProperty;
| import com.alibaba.excel.annotation.write.style.ColumnWidth;
| import com.alibaba.excel.annotation.write.style.ContentRowHeight;
| import com.alibaba.excel.annotation.write.style.HeadRowHeight;
| import lombok.Data;
|
|
| @Data
| @ColumnWidth(25)
| @HeadRowHeight(20)
| @ContentRowHeight(18)
| public class HealthcodeExcel {
|
| @ColumnWidth(15)
| @ExcelProperty("健康码编号")
| private Integer id;
|
|
|
| @ColumnWidth(15)
| @ExcelProperty("类型(1:绿色 2:黄色 3:红色)")
| private String type;
|
|
| @ColumnWidth(15)
| @ExcelProperty("性别")
| private String sex;
|
|
|
| @ColumnWidth(20)
| @ExcelProperty("省")
| private String province;
|
|
| @ColumnWidth(20)
| @ExcelProperty("市")
| private String city;
|
|
| @ColumnWidth(20)
| @ExcelProperty("县区")
| private String district;
|
|
| @ColumnWidth(30)
| @ExcelProperty("创建时间")
| private String dtime;
|
| }
|
|