package com.yuchen.saas.parking.charge.api.vo.alarm;

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.HeadRowHeight;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value="告警信息导出Vo", description="告警信息导出Vo")
@ColumnWidth(25)
@HeadRowHeight(20)
@ContentRowHeight(18)
public class WarningInfoExcelVO {

    @ApiModelProperty(name = "createTime", value = "告警时间")
    @ColumnWidth(30)
    @ExcelProperty("告警时间")
    private Date createTime;
    @ApiModelProperty(name = "identity", value = "告警类型名称")
    @ColumnWidth(30)
    @ExcelProperty("告警类型名称")
    private String identityName;
    @ApiModelProperty(name = "levelName", value = "报警等级名称")
    @ColumnWidth(30)
    @ExcelProperty("报警等级名称")
    private String levelName;
    @ApiModelProperty(name = "remark", value = "告警内容")
    @ColumnWidth(50)
    @ExcelProperty("告警内容")
    private String remark;
    @ApiModelProperty(name = "stationName", value = "电站名称")
    @ColumnWidth(30)
    @ExcelProperty("电站名称")
    private String stationName;
    @ApiModelProperty(name = "setPosition", value = "设备地址")
    @ColumnWidth(50)
    @ExcelProperty("设备地址")
    private String setPosition;
    @ApiModelProperty(name = "status", value = "处理状态（1:未处理 2：处理中 3：已处理 4：已忽略）")
    @ColumnWidth(30)
    @ExcelProperty("处理状态")
    private String status;
    @ApiModelProperty(name = "handleStatus", value = "处理结果（1:无需处理 2：已解决 3：未解决 4：已提工单）")
    @ColumnWidth(30)
    @ExcelProperty("处理结果")
    private String handleStatus;
}
