package com.yuchen.saas.park.api.entity.park;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.nest.springwrap.core.tenant.mp.TenantEntity;

/**
 * @author 颜艺波
 * @date 2022/6/27 15:39
 * @Description
 */
@Data
@TableName("pmg_bat_fire_warning")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "消防告警", description = "消防告警信息")
public class PmgBatFireWarning extends TenantEntity {

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

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

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

    @ApiModelProperty(value = "触发时间")
    private Long triggerTime;

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

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

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

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

    @ApiModelProperty(value = "海康isc设备通道名称")
    private String channelName;

    @ApiModelProperty(value = "海康isc设备监控点安装地址")
    private String cameraAddress;

    @ApiModelProperty(value = "海康isc设备模式：0- 离岗事件，1- 睡岗事件，2- 离岗睡岗事件")
    private Long model;

    @ApiModelProperty(value = "海康isc设备触发时间")
    private Long happenTime;

    @ApiModelProperty("海康isc设备资源唯一标识")
    private String indexCode;
}
