All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.zhengxiang.component.element.ElTree Maven / Gradle / Ivy

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 children;

    /* getter setter */
    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public List getChildren() {
        return children;
    }

    public void setChildren(List children) {
        this.children = children;
    }

    /* constructor */
    public ElTree(String label, List children) {
        this.label = label;
        this.children = children;
    }

    public ElTree() {
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy