linwei
2024-01-31 b3b566ebdfed4005aaa513da3d5d2fd3924903cc
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
package org.springblade.modules.place.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 lombok.Data;
 
import java.io.Serializable;
 
/**
 * HouseExcel
 *
 * @author Chill
 */
@Data
@ColumnWidth(25)
@HeadRowHeight(20)
@ContentRowHeight(18)
public class PlaceExcel implements Serializable {
 
    private static final long serialVersionUID = 2L;
 
    /** 门牌地址编码 */
    @ExcelProperty( "门牌地址编码")
    private String houseCode;
 
    /** 街道名称 */
    @ExcelProperty( "街道名称")
    private String streetName;
 
    /** 社区名称 */
    @ExcelProperty( "社区名称")
    private String communityName;
 
    /** 所属网格 */
    @ExcelProperty( "所属网格")
    private String gridName;
 
    /** 房屋名称 */
    @ExcelProperty( "详细地址")
    private String houseName;
 
    /** 姓名 */
    @ColumnWidth(15)
    @ExcelProperty( "姓名")
    private String name;
 
    /** 手机号 */
    @ColumnWidth(15)
    @ExcelProperty( "手机号")
    private String phoneNumber;
 
}