package com.yushu.system.domain;

import java.util.ArrayList;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.yushu.common.annotation.Excel;
import com.yushu.common.core.domain.BaseEntity;

/**
 * 文件夹对象 sys_folder
 * 
 * @author yushu
 * @date 2024-11-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SysFolder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 文件夹ID */
    private Long folderId;

    /** 父文件夹ID */
    @Excel(name = "父文件夹ID")
    private Long parentId;

    /** 文件夹名称 */
    @Excel(name = "文件夹名称")
    private String folderName;

    /** 创建人ID */
    @Excel(name = "创建人ID")
    private Long userId;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sortOrder;

    /** 子文件夹 */
    private List<SysFolder> children = new ArrayList<>();
}
