package com.storlead.framework.common.vo.menu;

import lombok.Data;

import java.util.List;
import java.util.UUID;

/**
 * @program: storlead-saas-platform
 * @description:
 * @author: chenkq
 * @create: 2026-05-11 10:17
 */
@Data
public class TreeVo {
    private Long id;
    private String treeId = UUID.randomUUID().toString();
    private Long parentId;
    private Long menuId;
    private String title;
    /**
     * 存放当前对象,1:菜单资源,2:接口按钮资源
     */
    private Object arg;
    /**
     * 存放规则引擎:只有type = 2 才可能会有
     */
    private Object engine;
    private Integer rank;
    private Boolean checked;

    private Boolean _showChildren = false;
    /**
     * 存放当前对象,1:菜单资源,2:接口按钮资源
     */
    private Integer type;

    /**
     * 是否展开
     */
    private Boolean expand = false;

    /**
     *
     */
    private Boolean disableCheckbox = false;

    /**
     *  是否可以选择
     */
    private Boolean disabled = true;

    private List<TreeVo> children;
}

