dev.zhengxiang.component.element.ElTree Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of frontend Show documentation
Show all versions of frontend Show documentation
Frontend component object
The newest version!
package dev.zhengxiang.component.element;
import java.util.List;
/**
* Element Ui Tree 树形控件
* https://element.eleme.cn/#/zh-CN/component/tree
*/
public class ElTree {
/**
* 标题
*/
private String label;
/**
* 子节点
*/
private List extends ElTree> children;
/* getter setter */
public String getLabel() {
return label;
}
public void setLabel(String label) {
this.label = label;
}
public List extends ElTree> getChildren() {
return children;
}
public void setChildren(List extends ElTree> children) {
this.children = children;
}
/* constructor */
public ElTree(String label, List extends ElTree> children) {
this.label = label;
this.children = children;
}
public ElTree() {
}
}