|
|
@@ -21,6 +21,9 @@ public class ResourceTree {
|
|
|
private List<ResourceTree> children;
|
|
|
private String label;
|
|
|
private int value;
|
|
|
+ private String url;
|
|
|
+ private String type;
|
|
|
+ private String icon;
|
|
|
|
|
|
public ResourceTree(Menu menu) {
|
|
|
this.pid = menu.getPid();
|
|
|
@@ -30,5 +33,8 @@ public class ResourceTree {
|
|
|
this.children = new ArrayList<>();
|
|
|
this.value = menu.getId();
|
|
|
this.label = menu.getName();
|
|
|
+ this.url = menu.getUrl();
|
|
|
+ this.type = menu.getType();
|
|
|
+ this.icon = menu.getIcon();
|
|
|
}
|
|
|
}
|