package com.yuchen.saas.integration.hik.isc.vo;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author 颜艺波
 * @date 2022/6/17 10:44
 * @Description
 */
@Data
public class XgVideoUeVO {


    /**
     * 场站id
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    @ApiModelProperty(name = "siteId", value = "场站id")
    private Long siteId;

    @TableField(updateStrategy = FieldStrategy.IGNORED)
    @ApiModelProperty(name = "siteName", value = "场站名称")
    private String siteName;

    /**
     * 客户id
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    @ApiModelProperty(name = "customerId", value = "客户id")
    private Long customerId;


    /**
     * 地址
     */
    @ApiModelProperty(name = "deviceAddress", value = "地址")
    private String deviceAddress;

    /**
     * 项目id
     */
    @ApiModelProperty(name = "projectId", value = "项目id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long projectId;

    /**
     * 所属产品
     */
    @ApiModelProperty(name = "productKey", value = "所属产品")
    private String productKey;


    /**
     * 设备编码（对应设备中心的deviceName）
     */
    @ApiModelProperty(name = "deviceNo", value = "设备编码（对应设备中心的deviceName）")
    private String deviceNo;


    /**
     * 设备类型名称
     */
    @ApiModelProperty(name = "deviceTypeName", value = "设备类型名称")
    private String deviceTypeName;


    /**
     * 设备类型id
     */
    @ApiModelProperty(name = "deviceTypeId", value = "设备类型id")
    private String deviceTypeId;


    /**
     * 设备图片地址
     */
    @ApiModelProperty(name = "deviceImages", value = "设备图片地址")
    private String deviceImages;


    /**
     * 监控类型（1：AI监控，2：普通监控）
     */
    @ApiModelProperty(name = "monitorType", value = "监控类型（1：AI监控，2：普通监控）")
    private String monitorType;

    @ApiModelProperty(value = "通道号")
    private String channelNo;

    @ApiModelProperty(value = "播放的flvUrl链接")
    private String flvUrl;
    @ApiModelProperty(value = "播放的hlsUrl链接")
    private String hlsUrl;

    @ApiModelProperty(value = "")
    private String id;
    @ApiModelProperty(value = "")
    private String name;

    @ApiModelProperty(value = "是否在线标识0否1：是")
    private String onlineFlag;
}
