level 8
噢丶Right
楼主
package org.act.entity;import java.util.List;/*****************************
* 菜单
* @author shenkunlin
*
*/
public class Menus { private int menuID;
private String menuName;
private int fatherID; private List<Menus> childNodes; public Menus() {
super();
} public Menus(int menuID, String menuName, int fatherID,
List<Menus> childNodes) {
super();
this.menuID = menuID;
this.menuName = menuName;
this.fatherID = fatherID;
this.childNodes = childNodes;
} public int getMenuID() {
return menuID;
} public void setMenuID(int menuID) {
this.menuID = menuID;
} public String getMenuName() {
return menuName;
} public void setMenuName(String menuName) {
this.menuName = menuName;
} public int getFatherID() {
return fatherID;
} public void setFatherID(int fatherID) {
this.fatherID = fatherID;
} public List<Menus> getChildNodes() {
return childNodes;
} public void setChildNodes(List<Menus> childNodes) {
this.childNodes = childNodes;
}}
2013年08月21日 03点08分
1
* 菜单
* @author shenkunlin
*
*/
public class Menus { private int menuID;
private String menuName;
private int fatherID; private List<Menus> childNodes; public Menus() {
super();
} public Menus(int menuID, String menuName, int fatherID,
List<Menus> childNodes) {
super();
this.menuID = menuID;
this.menuName = menuName;
this.fatherID = fatherID;
this.childNodes = childNodes;
} public int getMenuID() {
return menuID;
} public void setMenuID(int menuID) {
this.menuID = menuID;
} public String getMenuName() {
return menuName;
} public void setMenuName(String menuName) {
this.menuName = menuName;
} public int getFatherID() {
return fatherID;
} public void setFatherID(int fatherID) {
this.fatherID = fatherID;
} public List<Menus> getChildNodes() {
return childNodes;
} public void setChildNodes(List<Menus> childNodes) {
this.childNodes = childNodes;
}}
