zoukankan      html  css  js  c++  java
  • ext树菜单实体类

    package cn.edu.hbcf.common.vo;
    
    import java.util.ArrayList;
    import java.util.List;
    
    /**
     * ext树菜单
     * 
     * @author 
     * @date 2012-02-24 19:06:00
     * 
     */
    public class Tree {
    
        private String id;
        private String name;
        private String text;
        private String iconCls;
        private boolean expanded;
        private boolean leaf;
        private String url;
        private List<Tree> children;
        private int appId;
        public Tree(){
            
        }
        
        public Tree(String id,String text){
            this.id = id;
            this.text = text;
        }
        
        public Tree(String id,String text,boolean leaf){
            this.id = id;
            this.text = text;
            this.leaf = leaf;
            if(!leaf){
                children = new ArrayList<Tree>();
            }
        }
        
        
        public int getAppId() {
            return appId;
        }
    
        public void setAppId(int appId) {
            this.appId = appId;
        }
    
        public String getId() {
            return id;
        }
    
        public void setId(String id) {
            this.id = id;
        }
    
        
        public String getName() {
            return name;
        }
    
        public void setName(String name) {
            this.name = name;
        }
    
        public String getText() {
            return text;
        }
    
        public void setText(String text) {
            this.text = text;
        }
    
        public String getIconCls() {
            return iconCls;
        }
    
        public void setIconCls(String iconCls) {
            this.iconCls = iconCls;
        }
    
        public boolean getExpanded() {
            return expanded;
        }
    
        public void setExpanded(boolean expanded) {
            this.expanded = expanded;
        }
    
        public boolean getLeaf() {
            return leaf;
        }
    
        public void setLeaf(boolean leaf) {
            this.leaf = leaf;
        }
    
        public String getUrl() {
            return url;
        }
    
        public void setUrl(String url) {
            this.url = url;
        }
    
        public List<Tree> getChildren() {
            return children;
        }
    
        public void setChildren(List<Tree> children) {
            this.children = children;
        }
    }
  • 相关阅读:
    printf里的=、++
    线程也疯狂-----异步编程
    自己搭建node服务器环境(请求静态资源、get请求、post请求)
    React学习
    2020.10-2021-01总结
    接圈的作用和缺点
    CWnd,HWND; CDC,HDC
    Python通过requests模块处理form-data请求格式
    element-ui resetFields 无效的问题
    用python 将数字每三组分割
  • 原文地址:https://www.cnblogs.com/zrui-xyu/p/4942852.html
Copyright © 2011-2022 走看看