package com.fdkankan.ucenter.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 文件夹表
 * </p>
 *
 * @author 
 * @since 2022-07-07
 */
@Getter
@Setter
@TableName("t_folder")
public class Folder implements Serializable {

    private static final long serialVersionUID = 1L;

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

    /**
     * 用户id
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 文件夹名称
     */
    @TableField("name")
    private String name;

    /**
     * 文件夹类型，0看看我的场景，1看看协作场景，2看见我的场景，3看见协作场景
     */
    @TableField("type")
    private Integer type;

    /**
     * 上层文件夹id
     */
    @TableField("parent_id")
    private Long parentId;

    @TableField("laser_id")
    private Long laserId;

    @TableField("laser_parent_id")
    private Long laserParentId;

    @TableField("rec_status")
    @TableLogic(value = "A",delval = "I")
    private String recStatus;

    @TableField("create_time")
    private String createTime;

    @TableField("update_time")
    private String updateTime;


}
