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_folder_scene")
public class FolderScene implements Serializable {

    private static final long serialVersionUID = 1L;

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

    /**
     * 文件夹id
     */
    @TableField("folder_id")
    private Long folderId;

    /**
     * 场景id
     */
    @TableField("scene_id")
    private Long sceneId;

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

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

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


}
