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 com.casic.missiles.core.base.model.DataFieldDefine;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * @author cz
 * @date 2022-6-22
 * 温湿度Excel导出标题
 */
@ColumnWidth(30)
@HeadRowHeight(15)
@ContentRowHeight(20)
@ContentStyle(borderLeft = BorderStyleEnum.THIN, borderBottom = BorderStyleEnum.THIN, borderTop = BorderStyleEnum.THIN, borderRight = BorderStyleEnum.THIN)
@Data
@ExcelIgnoreUnannotated
@NoArgsConstructor
public class DigNoiseDataDto {
    @ExcelProperty("设备编号")
    private String devcode;
    @ExcelProperty("设备类型")
    private String deviceType;
    @ExcelProperty("设备类型名称")
    private String deviceTypeName;
    private String deptid;
    @ExcelProperty("部门名称")
    private String deptName;
    @ExcelProperty("点位编号")
    private String wellCode;
    @ExcelProperty("状态描述")

    private String descn;
    @ExcelProperty("电量")
    private String cell;
    @ExcelProperty("噪声值")
    private String ddata;
    @ExcelProperty("频率")
    private String frequency;
    @ExcelProperty("采集时间")
    private String uptime;
    @ExcelProperty("记录时间")
    private String logtime;
}
