dingxin il y a 5 ans
Parent
révision
780cdefbde

+ 44
- 0
src/main/java/com/huiju/estateagents/excel/HelpRecordExport.java Voir le fichier

@@ -0,0 +1,44 @@
1
+package com.huiju.estateagents.excel;
2
+
3
+import com.alibaba.excel.annotation.ExcelProperty;
4
+import com.alibaba.excel.annotation.format.DateTimeFormat;
5
+import com.alibaba.excel.annotation.write.style.ColumnWidth;
6
+import lombok.Data;
7
+
8
+import java.util.Date;
9
+
10
+/**
11
+ * <p>
12
+ * 助力活动发起人员记录
13
+ * </p>
14
+ *
15
+ * @author jobob
16
+ * @since 2019-10-17
17
+ */
18
+@Data
19
+public class HelpRecordExport {
20
+
21
+    /**
22
+     * 创建时间 也是助力发起时间
23
+     */
24
+    @ColumnWidth(15)
25
+    @ExcelProperty(value = "助力时间", index = 2)
26
+    @DateTimeFormat("yyyy年MM月dd日")
27
+    private Date createDate;
28
+
29
+
30
+    /**
31
+     * 人员手机号
32
+     */
33
+    @ColumnWidth(15)
34
+    @ExcelProperty(value = "手机号", index = 1)
35
+    private String phone;
36
+
37
+    /**
38
+     * 人员姓名
39
+     */
40
+    @ColumnWidth(15)
41
+    @ExcelProperty(value = "用户名", index = 0)
42
+    private String name;
43
+
44
+}