package com.njcn.device.pq.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * Description:通讯异常设备
 * 接口文档访问地址：http://serverIP:port/swagger-ui.html
 * Date: 2022/10/14  10:45【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "ExceptionDeviceInfoVO" ,description = "通讯异常设备")
public class ExceptionDeviceInfoVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(name ="subIndex",value = "变电站索引")
    private String subIndex;



    @ApiModelProperty(name ="subName",value = "变电站名称")
    private String subName;

    @ApiModelProperty("设备索引")
    private String devIndex;


    @ApiModelProperty("设备名称")
    private String devName;


    @ApiModelProperty("网络参数")
    private String ip;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("发生时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("警告类型id")
    private String warningId;

    @ApiModelProperty("警告类型")
    private String warningType;

    @ApiModelProperty("异常描述")
    private String exceptionDescription;



}
