package com.casic.missiles.modular.system.model;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
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.ContentStyle;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.alibaba.excel.enums.poi.BorderStyleEnum;
import lombok.Data;

import java.util.Date;

/**
 * @author cz
 * @date 2022-7-13
 */
@ColumnWidth(30)
@HeadRowHeight(15)
@ContentRowHeight(20)
@ContentStyle(borderLeft = BorderStyleEnum.THIN, borderBottom = BorderStyleEnum.THIN, borderTop = BorderStyleEnum.THIN, borderRight = BorderStyleEnum.THIN)
@Data
@ExcelIgnoreUnannotated
public class GasDectorDataDto {
    private Long id;
    @ExcelProperty("设备编号")
    private String devcode;
    private String imsi;
    /**
     * --事件类型 0正常 1低报 2高报
     */
    @ExcelProperty("事件类型")
    private String gasSensorState;
    @ExcelProperty("燃气浓度")
    private Double gasSampleValue;
    private String sinr;
    private String rsrp;
    private String pci;
    private String heartbeatTime;
    private String cellId;
    @ExcelProperty("电池电压")
    private String batteryVoltage;
    @ExcelProperty("电池电量")
    private String batteryValue;
    private String iccid;
    @ExcelProperty("采集时间")
    private Date uptime;
    @ExcelProperty("记录时间")
    private Date logtime;
    @ExcelProperty("设备类型名称")
    private String deviceTypeName;
    @ExcelProperty("设备类型")
    private String deviceType;
    @ExcelProperty("点位编号")
    private String wellCode;
    private String deptid;
    @ExcelProperty("部门名称")
    private String deptName;
}
