/* * 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.device.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 java.io.Serializable; import java.math.BigDecimal; import java.util.Date; /** * 设备表 Excel实体类 * * @author aix * @since 2026-01-08 */ @Data @ColumnWidth(25) @HeadRowHeight(20) @ContentRowHeight(18) public class FwDeviceExcel implements Serializable { private static final long serialVersionUID = 1L; /** * 设备名称 */ @ColumnWidth(20) @ExcelProperty("设备名称") private String deviceName; /** * 设备类型(察打一体/便捷侦测箱/反制枪) */ @ColumnWidth(20) @ExcelProperty("设备类型(察打一体/便捷侦测箱/反制枪)") private String deviceType; /** * 设备属性(无线电/光电/雷达) */ @ColumnWidth(20) @ExcelProperty("设备属性(无线电/光电/雷达)") private String deviceAtt; /** * 型号 */ @ColumnWidth(20) @ExcelProperty("型号") private String deviceModel; /** * 规格 */ @ColumnWidth(20) @ExcelProperty("规格") private String deviceSpecification; /** * 生产厂商 */ @ColumnWidth(20) @ExcelProperty("生产厂商") private String manufacturer; /** * 来源 */ @ColumnWidth(20) @ExcelProperty("来源") private String source; /** * 用途 */ @ColumnWidth(20) @ExcelProperty("用途") private String purpose; /** * 所属部门 */ @ColumnWidth(20) @ExcelProperty("所属部门") private Long belongDept; /** * 负责人 */ @ColumnWidth(20) @ExcelProperty("负责人") private String charger; /** * 联系电话 */ @ColumnWidth(20) @ExcelProperty("联系电话") private String contactPhone; /** * 备注 */ @ColumnWidth(20) @ExcelProperty("备注") private String remark; /** * 电量百分比 0-100 */ @ColumnWidth(20) @ExcelProperty("电量百分比 0-100") private Byte batteryPct; /** * 方位角 0-360° */ @ColumnWidth(20) @ExcelProperty("方位角 0-360°") private Short azimuth; /** * 俯仰角 -90-+90° */ @ColumnWidth(20) @ExcelProperty("俯仰角 -90-+90°") private Short elevation; /** * 侦测目标数量 */ @ColumnWidth(20) @ExcelProperty("侦测目标数量") private Integer detectTargetCnt; /** * 有效范围 km */ @ColumnWidth(20) @ExcelProperty("有效范围 km") private BigDecimal effectiveRangeKm; /** * 工作模式:侦测中/信号干扰中/诱导驱离中/待机 */ @ColumnWidth(20) @ExcelProperty("工作模式:侦测中/信号干扰中/诱导驱离中/待机") private String workMode; /** * 区域编码 */ @ColumnWidth(20) @ExcelProperty("区域编码") private String areaCode; /** * 删除标志(0存在 1删除) */ @ColumnWidth(20) @ExcelProperty("删除标志(0存在 1删除)") private Byte isDeleted; /** * 使用日期 */ @ColumnWidth(20) @ExcelProperty("使用日期") private Date useDate; /** * 使用年限(单位:年) */ @ColumnWidth(20) @ExcelProperty("使用年限(单位:年)") private Integer serviceLife; }