package com.fdkankan.scene.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 场景资源和相机关联表
 * </p>
 *
 * @author 
 * @since 2022-01-20
 */
@Getter
@Setter
@TableName("t_scene_resource_camera")
public class SceneResourceCamera implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 场景资源id
     */
    @TableField("scene_resource_id")
    private Long sceneResourceId;

    /**
     * 协作相机的id
     */
    @TableField("camera_id")
    private Long cameraId;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField("update_time")
    private Date updateTime;

    /**
     * 0-有效，1-删除
     */
    @TableField("tb_status")
    @TableLogic
    private Integer tbStatus;


}
