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

com.ajaxjs.website.section.TreeNode Maven / Gradle / Ivy

Go to download

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy