package com.fdkankan.scene.entity;

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 java.io.Serializable;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 场景资源和协作用户关联表
 * </p>
 *
 * @author dengsixing
 * @since 2021-12-23
 */
@Getter
@Setter
@TableName("t_scene_resource_cooperation")
public class SceneResourceCooperation 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("scene_cooperation_id")
    private Long sceneCooperationId;

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

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

    /**
     * 记录的状态，A: 生效，I: 禁用
     */
    @TableField("rec_status")
    private String recStatus;

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


}
