package com.ho.flow.vo.resp.event;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ho.common.tools.constant.CommonConstant;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author gyan
 * @desc: 实时数据导出
 * @DateTime: 2024/2/23 11:23
 */
@Data
public class ExportEvnData {


    @ApiModelProperty(value = "电站名称")
    @ExcelProperty(value = "电站名称")
    private String stationName;

    //设备类型
    @ApiModelProperty(value = "设备类型")
    @ExcelProperty(value = "设备类型")
    private String deviceName;
    //所属设备
    @ApiModelProperty(value = "所属设备")
    @ExcelProperty(value = "所属设备")
    private String name;

    //状态
    @ApiModelProperty(value = "事件状态 1已确认 0 未确认")
    @ExcelProperty(value = "事件状态")
    private String status;
    //事件
    @ApiModelProperty(value = "事件类型等级：1; //一级（事故）2二级（故障）3三级（告警）4四级（提示）5;//五级（告知）")
    @ExcelProperty(value = "事件")
    private String eventLevel;
    //告警时间
    @ApiModelProperty(value = "告警时间")
    @JsonFormat(pattern = CommonConstant.DATE_YMD_HMSS)
    @ExcelProperty(value = "告警时间")
    private Date timeStamp;
    //告警内容
    @ApiModelProperty(value = "事件描述")
    @ExcelProperty(value = "事件描述")
    private String description;
    //确认人
    @ApiModelProperty(value = "确认人")
    @ExcelProperty(value = "确认人")
    private String confirmMan;
    //确认时间
    @ApiModelProperty(value = "确认时间")
    @JsonFormat(pattern = CommonConstant.DATE)
    @ExcelProperty(value = "确认时间")
    private Date confirmTime;
    //备注
    @ApiModelProperty(value = "备注")
    @ExcelProperty(value = "备注")
    private String remark;

}
