package com.casic.missiles.modular.alarm.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 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)
@ExcelIgnoreUnannotated
@Data
@NoArgsConstructor
public class JobExcelDto {
    @ExcelProperty("工单编号")
    private String jobCode;
    @ExcelProperty("点位编号")
    private String wellCode;
    @ExcelProperty("详细地址")
    private String position;
    @ExcelProperty("告警类型")
    private String alarmTypeName;
    @ExcelProperty("告警原因")
    private String alarmContentName;
    @ExcelProperty("告警数值")
    private String alarmValue;
    @ExcelProperty("工单创建时间")
    private String createTime;
    @ExcelProperty("处理状态")
    private String jobStatusName;
    @ExcelProperty("处理人")
    private String handleJobPerson;
    @ExcelProperty("接单时间")
    private String getJobTime;

//    @ExcelProperty("设备编号")
    private String devcode;
//    @ExcelProperty("部门名称")
    private String deptName;


}
