package com.zcloud.primeport.persistence.dataobject;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jjb.saas.framework.repository.basedo.BaseDO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * web-infrastructure
 *
 * @Author makejava
 * @Date 2026-03-05 11:33:30
 */
@Data
@TableName("video")
@EqualsAndHashCode(callSuper = true)
public class VideoDO extends BaseDO {
    //口门/闸机id 外键id
    @ApiModelProperty(value = "口门/闸机id 外键id ")
    private Long foreignId;
    //设备类型（1-口门 2-闸机）
    @ApiModelProperty(value = "设备类型（1-口门 2-闸机）")
    private Integer deviceType;
    //摄像头id
    @ApiModelProperty(value = "摄像头id")
    private String videoResourceId;
    //摄像头名称
    @ApiModelProperty(value = "摄像头名称")
    private String videoResourceName;
    private String videoResourceCode;
    //摄像头类型（1-移动 2-平台）
    @ApiModelProperty(value = "摄像头类型（1-移动 2-平台）")
    private Integer videoType;
    //经度
    @ApiModelProperty(value = "经度")
    private String longitude;
    //纬度
    @ApiModelProperty(value = "纬度")
    private String latitude;
    @ApiModelProperty(value = "是否在线")
    @TableField(exist = false)
    private String isOnline;
    @ApiModelProperty(value = "摄像头来源(yd移动/gd固定)")
    @TableField(exist = false)
    private String type;
}

