| | |
| | | package org.sxkj.fw.area.excel; |
| | | |
| | | |
| | | import lombok.Data; |
| | | |
| | | 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.sxkj.fw.utils.excel.LocalDateTimeConverter; |
| | | |
| | | import java.io.Serializable; |
| | | import java.math.BigDecimal; |
| | | import java.time.LocalDateTime; |
| | | |
| | | |
| | | /** |
| | |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * 区域名称 |
| | | */ |
| | | @ColumnWidth(20) |
| | | @ExcelProperty("区域名称") |
| | | private String areaName; |
| | | /** |
| | | * 区域中心经度 |
| | | */ |
| | | @ColumnWidth(20) |
| | | @ExcelProperty("区域中心经度") |
| | | private Double longitude; |
| | | /** |
| | | * 区域中心纬度 |
| | | */ |
| | | @ColumnWidth(20) |
| | | @ExcelProperty("区域中心纬度") |
| | | private Double latitude; |
| | | /** |
| | | * 区域面积(km²) |
| | | */ |
| | | @ColumnWidth(20) |
| | | @ExcelProperty("区域面积(km²)") |
| | | private BigDecimal areaSize; |
| | | /** |
| | | * 经纬度面(存储地理面数据) |
| | | */ |
| | | @ColumnWidth(20) |
| | | @ExcelProperty("经纬度面(存储地理面数据)") |
| | | private String geom; |
| | | /** |
| | | * 区域类型:报警区/重点管制区 |
| | | */ |
| | | @ColumnWidth(20) |
| | | @ExcelProperty("区域类型:报警区/重点管制区") |
| | | private String areaType; |
| | | /** |
| | | * 触发条件 |
| | | */ |
| | | @ColumnWidth(20) |
| | | @ExcelProperty("触发条件") |
| | | private String triggerCondition; |
| | | /** |
| | | * 响应机制内容 |
| | | */ |
| | | @ColumnWidth(20) |
| | | @ExcelProperty("响应机制内容") |
| | | private String responseMechanism; |
| | | /** |
| | | * 管控级别:日常/重点/严密 |
| | | */ |
| | | @ColumnWidth(20) |
| | | @ExcelProperty("管控级别:日常/重点/严密") |
| | | private String controlLevel; |
| | | /** |
| | | * 关联派出所id |
| | | */ |
| | | @ColumnWidth(20) |
| | | @ExcelProperty("关联派出所id") |
| | | private Long policeStationId; |
| | | /** |
| | | * 关联设备ID,逗号分隔 |
| | | */ |
| | | @ColumnWidth(20) |
| | | @ExcelProperty("关联设备ID,逗号分隔") |
| | | private String deviceIds; |
| | | /** |
| | | * 可飞行日期时间-开始 |
| | | */ |
| | | @ColumnWidth(20) |
| | | @ExcelProperty(value = "可飞行日期时间-开始", converter = LocalDateTimeConverter.class) |
| | | private LocalDateTime flyDateStart; |
| | | /** |
| | | * 可飞行日期时间-结束 |
| | | */ |
| | | @ColumnWidth(20) |
| | | @ExcelProperty(value = "可飞行日期时间-结束", converter = LocalDateTimeConverter.class) |
| | | private LocalDateTime flyDateEnd; |
| | | /** |
| | | * 区域编码 |
| | | */ |
| | | @ColumnWidth(20) |
| | | @ExcelProperty("区域编码") |
| | | private String areaCode; |
| | | /** |
| | | * 删除标志(0存在 1删除) |
| | | */ |
| | | @ColumnWidth(20) |
| | | @ExcelProperty("删除标志(0存在 1删除)") |
| | | private Byte isDeleted; |
| | | |
| | | } |