/*
|
* 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.record.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 com.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
import org.sxkj.fw.utils.excel.ExcelDictConverter;
|
import org.sxkj.fw.utils.excel.ExcelDictItem;
|
import org.sxkj.fw.utils.excel.ExcelDictItemLabel;
|
|
import java.io.Serializable;
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
|
/**
|
* 无人机告警表 Excel实体类
|
*
|
* @author lw
|
* @since 2026-01-08
|
*/
|
@Data
|
@ColumnWidth(25)
|
@HeadRowHeight(20)
|
@ContentRowHeight(18)
|
public class FwDroneAlarmRecordExcel implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 反无设备ID(关联ja_fw_device.id)
|
*/
|
@ColumnWidth(20)
|
@ExcelProperty("反无设备ID(关联ja_fw_device.id)")
|
private Long deviceId;
|
/**
|
* 无人机名称
|
*/
|
@ColumnWidth(20)
|
@ExcelProperty("无人机名称")
|
private String droneName;
|
/**
|
* 无人机序列号
|
*/
|
@ColumnWidth(20)
|
@ExcelProperty("无人机序列号")
|
private String droneSerialNo;
|
/**
|
* 无人机类型(微型机/植保机...)
|
*/
|
@ColumnWidth(20)
|
@ExcelProperty( value = "无人机类型(微型机/植保机...)",converter = ExcelDictConverter.class)
|
@ExcelDictItemLabel(type = "droneType")
|
@ExcelDictItem(type = "droneType")
|
private String droneType;
|
/**
|
* 告警类型:实时告警/历史告警
|
*/
|
@ColumnWidth(20)
|
@ExcelProperty("告警类型:实时告警/历史告警")
|
private String alarmType;
|
/**
|
* 告警时间
|
*/
|
@ColumnWidth(20)
|
@ExcelProperty("告警时间")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date alarmTime;
|
/**
|
* 触发原因
|
*/
|
@ColumnWidth(20)
|
@ExcelProperty("触发原因")
|
private String triggerReason;
|
/**
|
* 飞行状态:侦测中/反制中
|
*/
|
@ColumnWidth(20)
|
@ExcelProperty(value = "飞行状态:侦测中/反制中", converter = ExcelDictConverter.class)
|
@ExcelDictItemLabel(type = "flightStatus")
|
@ExcelDictItem(type = "flightStatus")
|
private String flightStatus;
|
/**
|
* 当前经度
|
*/
|
@ColumnWidth(20)
|
@ExcelProperty("当前经度")
|
private Double longitude;
|
/**
|
* 当前纬度
|
*/
|
@ColumnWidth(20)
|
@ExcelProperty("当前纬度")
|
private Double latitude;
|
/**
|
* 信号频段(MHz)
|
*/
|
@ColumnWidth(20)
|
@ExcelProperty("信号频段(MHz)")
|
private Integer signalFreqMhz;
|
/**
|
* 飞行高度(m)
|
*/
|
@ColumnWidth(20)
|
@ExcelProperty("飞行高度(m)")
|
private Integer flightHeightM;
|
/**
|
* 飞行速度(m/s)
|
*/
|
@ColumnWidth(20)
|
@ExcelProperty("飞行速度(m/s)")
|
private BigDecimal flightSpeedMs;
|
/**
|
* 停留时长 (秒)
|
*/
|
@ColumnWidth(20)
|
@ExcelProperty(value = "停留时长(秒)")
|
private String stayDuration;
|
/**
|
* 反制方式:信号干扰/诱导驱离/无
|
*/
|
@ColumnWidth(20)
|
@ExcelProperty(value = "反制方式:信号干扰/诱导驱离/无", converter = ExcelDictConverter.class)
|
@ExcelDictItemLabel(type = "counterWay")
|
@ExcelDictItem(type = "counterWay")
|
private String counterWay;
|
/**
|
* 区域id ja_fw_area_divide
|
*/
|
@ColumnWidth(20)
|
@ExcelProperty("区域id ja_fw_area_divide")
|
private String areaDivideId;
|
/**
|
* 场景id ja_fw_defense_scene.id
|
*/
|
@ColumnWidth(20)
|
@ExcelProperty("场景id ja_fw_defense_scene.id")
|
private String defenseSceneId;
|
/**
|
* 区域编码
|
*/
|
@ColumnWidth(20)
|
@ExcelProperty("区域编码")
|
private String areaCode;
|
|
}
|