package com.casic.missiles.modular.system.dto.ExcelModel;

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 lombok.NoArgsConstructor;

/**
 * 气体和液体的导出内容
 */
@ColumnWidth(30)
@HeadRowHeight(15)
@ContentRowHeight(20)
@ContentStyle(borderLeft = BorderStyleEnum.THIN, borderBottom = BorderStyleEnum.THIN, borderTop = BorderStyleEnum.THIN, borderRight = BorderStyleEnum.THIN)
@Data
@ExcelIgnoreUnannotated
@NoArgsConstructor
public class DeviceDataExcelDto {
    /**
     * WELLCOVER_MONITORVIEW
     * devcode : 设备编码
     * deviceType : 设备类型
     * deviceTypeName : 设备类型名称
     * deptid : 用户id
     * deptName : 用户名称
     * wellCode : 井盖编号
     * descn : 状态描述
     * logtime : 日志时间
     * status : 状态
     * liquiddata: 液位值
     * cell: 电量
     */
    @ExcelProperty("设备编号")
    private String devcode;
    private Long deviceType;
    @ExcelProperty("设备类型名称")
    private String deviceTypeName;
    private Long deptid;
    @ExcelProperty("部门名称")
    private String deptName;
    @ExcelProperty("井盖编号")
    private String wellCode;
    private String descn;
    @ExcelProperty("采集时间")
    private String uptime;
    @ExcelProperty("电量")
    private String cell;
    @ExcelProperty("设备数据值")
    private String strength;
    private String logtime;
}
