zhongrj
2024-12-24 957ce4a101415487eb2d747a59243bfbbadccc4d
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
package org.springblade.modules.yw.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.ExcelDictItemLabel;
import java.io.Serializable;
 
/**
 * 应急空间设施 excel 模板
 * @author zhongrj
 * @date 2024-10-29
 */
@Data
@ColumnWidth(25)
@HeadRowHeight(20)
@ContentRowHeight(18)
public class EmergencySpaceExcel implements Serializable {
    private static final long serialVersionUID = 1L;
 
    @ColumnWidth(20)
    @ExcelProperty("应急空间名称")
    private String name;
 
    @ColumnWidth(20)
    @ExcelProperty("企业名称")
    private String firmName;
 
    @ColumnWidth(20)
    @ExcelProperty(value = "类型",converter = ExcelDictConverter.class)
    @ExcelDictItemLabel(type = "emergency_space_type")
    private String type;
 
    @ColumnWidth(20)
    @ExcelProperty(value = "防控级别",converter = ExcelDictConverter.class)
    @ExcelDictItemLabel(type = "pre_level")
    private String preLevel;
 
    @ColumnWidth(20)
    @ExcelProperty(value = "功能",converter = ExcelDictConverter.class)
    @ExcelDictItemLabel(type = "emergency_space_use")
    private String mainFunc;
 
    @ExcelProperty("经度")
    private String lng;
 
    @ExcelProperty("纬度")
    private String lat;
 
    @ExcelProperty("可用容量(立方米)(应急池)")
    private Double capacity;
 
    @ExcelProperty("备注")
    private String remark;
}