com.ajaxjs.website.section.TreeNode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ajaxjs-framework2 Show documentation
Show all versions of ajaxjs-framework2 Show documentation
AJAXJS aims to full-stack, not only the server-side framework,
but also integrates the front-end library. It's written in HTML5 + Java, a successor to the JVM platform, efficient, secure, stable, cross-platform and many other advantages, but it abandoned the traditional enterprise architecture brought about by the large and bloated,
emphasizing the lightweight, and fast, very suitable for the Internet fast application.
The newest version!
package com.ajaxjs.website.section;
import com.ajaxjs.framework.BaseModel;
/**
* 树节点/类别 一种基础的数据结构
*
* @author sp42 [email protected]
*
*/
public class TreeNode extends BaseModel {
private static final long serialVersionUID = 7052077804355019403L;
/**
* 父亲 id。一般树节点数量不会超过 int
*/
private Integer pid;
/**
* 路径
*/
private String path;
public Integer getPid() {
return pid;
}
public void setPid(Integer pid) {
this.pid = pid;
}
public String getPath() {
return path;
}
public void setPath(String path) {
this.path = path;
}
}