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

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ho.common.tools.constant.CommonConstant;
import com.ho.flow.vo.Event;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;


/**
 * @Description 告警管理对外请求参数
 * @Author xwz
 * @Date 2023/07/24
 */
@Data
public class ApiEventRespVO{

    @ApiModelProperty(value = "事件类型等级")
    private Integer eventLevel;

    @ApiModelProperty(value = "事件时间")
    @JsonFormat(pattern = CommonConstant.DATE)
    private Date timeStamp;

    @ApiModelProperty(value = "事件状态 1已确认 0 未确认")
    private Integer status;

    @ApiModelProperty(value = "事件描述")
    private String description;

    @ApiModelProperty(value = "确认人")
    private String confirmMan;

    @ApiModelProperty(value = "确认时间")
    @JsonFormat(pattern = CommonConstant.DATE)
    private Date confirmTime;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = CommonConstant.DATE)
    private Date createTime;

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

    @ApiModelProperty(value = "设备的名称")
    private String name;

    @ApiModelProperty(value = "设备Id")
    private Integer targetDevice;
}
