package com.yeejoin.equipmanage.common.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author keyong
 * @title: EquipmentSpeIndexVO
 * <pre>
 * @description
 * </pre>
 * @date 2020/11/3 15:55
 */
@Data
@ApiModel(value = "装备性能指标订阅警报vo实体", description = "装备性能指标订阅警报vo实体")
public class EquipmentIotAlarmVO {

    @ApiModelProperty(value = "id")
    private long id;

    @ApiModelProperty(value = "机构编号")
    private String orgCode;

    @ApiModelProperty(value = "设备具体名称")
    private String equipmentSpecificName;

    @ApiModelProperty(value = "消防设备ID")
    private long equipmentSpecificId;

    @ApiModelProperty(value = "设备编码")
    private String iotCode;

    @ApiModelProperty(value = "指标名称")
    private String equipmentSpecificIndexName;

    @ApiModelProperty(value = "指标编码")
    private String equipmentSpecificIndexKey;

    @ApiModelProperty(value = "报警值")
    private String equipmentSpecificIndexValue;

    @ApiModelProperty(value = "发生频次")
    private int frequency;

    @ApiModelProperty(value = "报警状态: 1报警0恢复")
    private int status;

    @ApiModelProperty(value = "报警类型")
    private String type;

    @ApiModelProperty(value = "更新时间")
    private Date updateDate;

    @ApiModelProperty(value = "告警恢复时间")
    private Date recoveryDate;

    @ApiModelProperty(value = "性能指标ID")
    private long equipmentIndexId;

    @ApiModelProperty(value = "报警类型")
    private String alarmCode;
}
