package com.yuchen.saas.park.api.vo.park.fire;

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

import java.util.Date;

/**
 * @author 颜艺波
 * @date 2022/6/27 16:36
 * @Description
 */
@ApiModel(value = "消防告警信息")
@Data
public class FireWarningVO {

    @ApiModelProperty(value = "产品productKey")
    private String productKey;

    @ApiModelProperty(value = "设备deviceNAme")
    private String deviceName;

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

    @ApiModelProperty(value = "设备安装位置")
    private String setPosition;

    @ApiModelProperty(value = "事件标识")
    private String identity;

    @ApiModelProperty(value = "触发时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date triggerTime;

    @ApiModelProperty(value = "抓拍图片url")
    private String picUrl;

    @ApiModelProperty(value = "告警等级")
    private Integer level;

    @ApiModelProperty(value = "告警信息")
    private String warningInfo;

    @ApiModelProperty(value = "园区id")
    private Long parkId;
}
