You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
733 B
Java

package com.rehome.zhdcoa.bean;
import com.rehome.zhdcoa.tree.bean.TreeNodeId;
import com.rehome.zhdcoa.tree.bean.TreeNodeLabel;
import com.rehome.zhdcoa.tree.bean.TreeNodePid;
public class Bean
{
@TreeNodeId
private int id;
@TreeNodePid
private int pId;
@TreeNodeLabel
private String label;
public Bean()
{
}
public Bean(int id, int pId, String label)
{
this.id = id;
this.pId = pId;
this.label = label;
}
public int getId()
{
return id;
}
public void setId(int id)
{
this.id = id;
}
public int getpId()
{
return pId;
}
public void setpId(int pId)
{
this.pId = pId;
}
public String getLabel()
{
return label;
}
public void setLabel(String label)
{
this.label = label;
}
}