package com.auth.common.tree;
import java.util.LinkedList;
import java.util.List;
public class Node {
private Long id;
private Long parentId;
private String text;
private String state;
private NodeAttribute attributes;
private List<Node> children=new LinkedList();
private Integer order;
Node(Long id,Long parentId,String text,String state,NodeAttribute attributes,Integer order){
this.id=id;
this.parentId=parentId;
this.text=text;
this.state=state;
this.attributes=attributes;
this.order=order;
}
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getParentId() {
return parentId;
}
public void setParentId(Long parentId) {
this.parentId = parentId;
}
public String getText() {
return text;
}
public void setText(String text) {
this.text = text;
}
public String getState() {
return state;
}
public void setState(String state) {
this.state = state;
}
public NodeAttribute getAttributes() {
return attributes;
}
public void setAttributes(NodeAttribute attributes) {
this.attributes = attributes;
}
public List<Node> getChildren() {
return children;
}
public void setChildren(List<Node> children) {
this.children = children;
}
public Integer getOrder() {
return order;
}
public void setOrder(Integer order) {
this.order = order;
}
}
最近下载更多
xiaoaitx LV8
1月2日
lxzlxzl LV1
2024年6月21日
xhqxhq LV1
2024年6月6日
yangxinyullll LV1
2024年4月28日
微信网友_6512020493586432 LV2
2024年4月8日
xiongM LV4
2024年4月4日
wangsheng818 LV4
2024年2月28日
马宇轩 LV1
2023年11月19日
泓鼎168 LV20
2023年10月16日
1257592068 LV6
2023年6月6日

最近浏览