linwe
2024-08-09 8b7258c9427882bb1798f1502eaa35184c6e374e
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
package org.springblade.modules.discuss.excel;
 
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 com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
 
import java.io.Serializable;
import java.util.Date;
 
/**
 * HouseExcel
 *
 * @author Chill
 */
@Data
@ColumnWidth(25)
@HeadRowHeight(20)
@ContentRowHeight(18)
public class topicsExcel implements Serializable {
 
    private static final long serialVersionUID = 2L;
 
    @ExcelProperty( "姓名")
    private String name;
 
    @ExcelProperty( "手机号")
    private String phone;
 
    @ExcelProperty( "地址")
    private String addressName;
 
    @ExcelProperty( "小区")
    private String aoiName;
 
    @ExcelProperty( "面积")
    private String area;
 
    @ExcelProperty( "地块")
    private String remark;
 
    @ExcelProperty( "投票项")
    private String optionContent;
 
 
    @ExcelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
 
 
}