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_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;

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

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

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

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


}
