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

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;

/**
 * @author cz
 * @Date 2022-6-28
 */
@ColumnWidth(30)
@HeadRowHeight(15)
@ContentRowHeight(20)
@ContentStyle(borderLeft = BorderStyleEnum.THIN, borderBottom = BorderStyleEnum.THIN, borderTop = BorderStyleEnum.THIN, borderRight = BorderStyleEnum.THIN)
@Data
@NoArgsConstructor
public class RecordExcelDto {
    @ExcelProperty("点位编号")
    private String wellCode;
    @ExcelProperty("设备编号")
    private String devcode;
    @ExcelProperty("详细地址")
    private String position;
    @ExcelProperty("报警类型")
    private String alarmTypeName;
    @ExcelProperty("报警原因")
    private String alarmContentName;
    @ExcelProperty("报警等级")
    private String alarmLevel;
    @ExcelProperty("报警数值")
    private String alarmValue;
    @ExcelProperty("权属单位")
    private String deptName;
    @ExcelProperty("报警时间")
    private String logTime;
}
