/*
|
* Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
|
*
|
* Redistribution and use in source and binary forms, with or without
|
* modification, are permitted provided that the following conditions are met:
|
*
|
* Redistributions of source code must retain the above copyright notice,
|
* this list of conditions and the following disclaimer.
|
* Redistributions in binary form must reproduce the above copyright
|
* notice, this list of conditions and the following disclaimer in the
|
* documentation and/or other materials provided with the distribution.
|
* Neither the name of the dreamlu.net developer nor the names of its
|
* contributors may be used to endorse or promote products derived from
|
* this software without specific prior written permission.
|
* Author: Chill 庄骞 (smallchill@163.com)
|
*/
|
package org.sxkj.fw.area.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.sxkj.fw.utils.excel.LocalTimeConverter;
|
|
import java.io.Serializable;
|
import java.math.BigDecimal;
|
import java.time.LocalDate;
|
import java.time.LocalTime;
|
|
|
/**
|
* 区域划分表 Excel实体类
|
*
|
* @author lw
|
* @since 2026-01-07
|
*/
|
@Data
|
@ColumnWidth(25)
|
@HeadRowHeight(20)
|
@ContentRowHeight(18)
|
public class FwAreaDivideExcel implements Serializable {
|
|
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;
|
/**
|
* 可飞行时间段-开始
|
*/
|
@ColumnWidth(20)
|
@ExcelProperty(value = "可飞行时间段-开始", converter = LocalTimeConverter.class)
|
private LocalTime flyTimeStart;
|
/**
|
* 可飞行时间段-结束
|
*/
|
@ColumnWidth(20)
|
@ExcelProperty(value = "可飞行时间段-结束", converter = LocalTimeConverter.class)
|
private LocalTime flyTimeEnd;
|
/**
|
* 可飞行日期-开始
|
*/
|
@ColumnWidth(20)
|
@ExcelProperty("可飞行日期-开始")
|
private LocalDate flyDateStart;
|
/**
|
* 可飞行日期-结束
|
*/
|
@ColumnWidth(20)
|
@ExcelProperty("可飞行日期-结束")
|
private LocalDate flyDateEnd;
|
/**
|
* 区域编码
|
*/
|
@ColumnWidth(20)
|
@ExcelProperty("区域编码")
|
private String areaCode;
|
/**
|
* 删除标志(0存在 1删除)
|
*/
|
@ColumnWidth(20)
|
@ExcelProperty("删除标志(0存在 1删除)")
|
private Byte isDeleted;
|
|
}
|