package com.youlai.boot.system.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@TableName("sys_folder")
public class SysFolder {
    @TableId
    private Integer id;
    private String name;
    private String folderName;
    private Integer parentId;
    private String ancestorIds;
    private String type;
    private Date updateTime;
    private Date createTime;
    @TableField(exist = false)
    private List<SysFolder> children;
}    