zhuo
2025-02-26 3dbbf41e66f433784cda81b56b8b97917f284ff5
ruoyi-common/src/main/java/com/ruoyi/common/core/domain/TreeSelect.java
@@ -27,6 +27,9 @@
    /** 是否可以选择仅看我, 0:否, 1:是 */
    private Integer isRersonalButton;
    /** 是否确认只看我, 0:否, 1:是 */
    private Integer isRersonal;
    /** 节点禁用 */
    private boolean disabled = false;
@@ -52,6 +55,7 @@
        this.id = menu.getMenuId();
        this.label = menu.getMenuName();
        this.isRersonalButton = menu.getIsRersonalButton();
        this.isRersonal = menu.getIsRersonal();
        this.children = menu.getChildren().stream().map(TreeSelect::new).collect(Collectors.toList());
    }
@@ -95,7 +99,7 @@
        this.children = children;
    }
    public Integer geIsRersonalButton()
    public Integer getIsRersonalButton()
    {
        return isRersonalButton;
    }
@@ -104,4 +108,14 @@
    {
        this.isRersonalButton = isRersonalButton;
    }
    public Integer getIsRersonal()
    {
        return isRersonal;
    }
    public void setIsRersonal(Integer isRersonalButton)
    {
        this.isRersonal = isRersonal;
    }
}