吉安感知网项目-后端
linwei
19 hours ago 08ddfad4530a014094c06fe68b8c2d9a0753403a
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
/*
 *      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;
 
 
    /**
     * 无人机名称
     */
    @ColumnWidth(20)
    @ExcelProperty("无人机名称")
    private String droneName;
    /**
     * 无人机序列号
     */
    @ColumnWidth(20)
    @ExcelProperty("序列号")
    private String droneSerialNo;
 
    /**
     * 告警时间
     */
    @ColumnWidth(20)
    @ExcelProperty("告警时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date alarmTime;
 
    @ColumnWidth(20)
    @ExcelProperty("区域名称")
    private String areaName;
 
    /**
     * 触发原因
     */
    @ColumnWidth(20)
    @ExcelProperty("触发原因")
    private String triggerReason;
 
 
    @ColumnWidth(20)
    @ExcelProperty("侦测反制设备")
    private String deviceName;
 
    /**
     * 无人机类型(微型机/植保机...)
     */
    @ColumnWidth(20)
    @ExcelProperty(value = "设备类型")
    private String droneType;
 
 
    @ColumnWidth(20)
    @ExcelProperty("设备编号")
    private String deviceSn;
 
 
    @ColumnWidth(20)
    @ExcelProperty(value = "设备状态", converter = ExcelDictConverter.class)
    @ExcelDictItemLabel(type = "deviceStatus")
    @ExcelDictItem(type = "deviceStatus")
    private String deviceStatus;
 
 
}