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/24 17:08
 * @Description
 */
@Data
@TableName("pmg_bat_security_warning")
@EqualsAndHashCode
@ApiModel(value = "安防预警表",description = "安防预警表")
public class PmgBatSecurityWarning extends TenantEntity {

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

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

    @ApiModelProperty(value = "监控点编码")
    private String cameraIndexCode;

    @ApiModelProperty(value = "通道名称")
    private String channelName;

    @ApiModelProperty(value = "预警编码")
    private String code;

    @ApiModelProperty(value = "预警类型")
    private String warningType;

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

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

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

    @ApiModelProperty(value = "密度比例")
    private Float density;

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