linwe
2024-05-29 c10d6358b9f014375a13821465bc978d0c0da22e
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
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 org.springblade.common.excel.ExcelDictConverter;
import org.springblade.common.excel.ExcelDictItem;
import org.springblade.common.excel.ExcelDictItemLabel;
 
import java.io.Serializable;
 
/**
 * HouseExcel
 *
 * @author Chill
 */
@Data
@ColumnWidth(25)
@HeadRowHeight(20)
@ContentRowHeight(18)
public class ImportPlaceExcel implements Serializable {
 
    private static final long serialVersionUID = 2L;
 
    /** 门牌地址编码 */
    @ExcelProperty( "门牌地址编码*")
    private String houseCode;
 
    /** 地址 */
    @ColumnWidth(25)
    @ExcelProperty( "地址")
    private String location;
 
    /** 经度 */
    @ColumnWidth(25)
    @ExcelProperty( "经度")
    private String lng;
 
    /** 纬度 */
    @ColumnWidth(25)
    @ExcelProperty( "纬度")
    private String lat;
 
    /** 街道名称 */
    @ExcelProperty( "街道名称")
    private String streetName;
 
    /** 社区名称 */
    @ExcelProperty( "社区名称")
    private String communityName;
 
    /** 网格名称 */
    @ExcelProperty( "网格名称")
    private String gridName;
 
    /** 场所名称 */
    @ColumnWidth(25)
    @ExcelProperty( "场所名称*")
    private String placeName;
 
    /** 场所负责人 */
    @ColumnWidth(15)
    @ExcelProperty( "场所负责人")
    private String principal;
 
    /** 场所负责人联系电话 */
    @ColumnWidth(15)
    @ExcelProperty( "场所负责人联系电话")
    private String principalPhone;
 
    /** 场所负责人身份证号 */
    @ColumnWidth(15)
    @ExcelProperty( "场所负责人身份证号")
    private String principalIdCard;
 
    /** 企业法定代表 */
    @ColumnWidth(15)
    @ExcelProperty( "企业法定代表")
    private String legalPerson;
 
    /** 法定代表联系电话 */
    @ColumnWidth(15)
    @ExcelProperty( "法定代表联系电话")
    private String legalTel;
 
    /** 企业法定代表身份证号码 */
    @ColumnWidth(15)
    @ExcelProperty( "企业法定代表身份证号码")
    private String legalIdCard;
 
    /** 九小场所类型 */
    @ExcelProperty( value = "九小场所类型",converter = ExcelDictConverter.class)
    @ExcelDictItem(type = "nineType")
    @ExcelDictItemLabel(type = "nineType")
    private String nineType;
 
    /** 阵地类型 */
    @ExcelProperty( value = "阵地类型",converter = ExcelDictConverter.class)
    @ExcelDictItem(type = "frontType")
    @ExcelDictItemLabel(type = "frontType")
    private String frontType;
 
    /** 1:是 2:否  三级消防单位 */
    @ExcelProperty("三级消防单位(是/否)")
    private String threeFireProtection;
 
    /** 无诈类别 */
    @ExcelProperty(value = "无诈类别", converter = ExcelDictConverter.class)
    @ExcelDictItem(type = "noExplosionCategory")
    @ExcelDictItemLabel(type = "noExplosionCategory")
    private String noExplosionCategory;
 
    /** 标签分类代码 */
    @ExcelProperty( "标签分类代码")
    private String labelCode;
 
    /** 备注 */
    @ExcelProperty( "备注")
    private String remark;
 
}