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

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

import java.util.Date;

/**
 * @author 颜艺波
 * @date 2022/6/24 14:14
 * @Description
 */
@Data
public class SecurityWarningVO {

    @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 = "触发时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date triggerTime;

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

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

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

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

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


