| | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import io.swagger.models.auth.In; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | |
| | | /** 标签 label **/ |
| | | private String label; |
| | | |
| | | /** 是否是叶节点 **/ |
| | | private boolean isLeaf; |
| | | |
| | | /** 值 value **/ |
| | | private Long value; |
| | | |
| | | /** 父级ID **/ |
| | | private Long pid; |
| | | |
| | | private Integer point; |
| | | |
| | | /** 子节点 **/ |
| | | private List<ElementTree> children; |
| | | |
| | | public Integer getPoint() { |
| | | return point; |
| | | } |
| | | |
| | | public String getLabel() { |
| | | public void setPoint(Integer point) { |
| | | this.point = point; |
| | | } |
| | | |
| | | public Long getPid() { |
| | | return pid; |
| | | } |
| | | |
| | | public void setPid(Long pid) { |
| | | this.pid = pid; |
| | | } |
| | | |
| | | public boolean isLeaf() { |
| | | return isLeaf; |
| | | } |
| | | |
| | | public void setLeaf(boolean isLeaf) { |
| | | this.isLeaf = isLeaf; |
| | | } |
| | | |
| | | public String getLabel() { |
| | | return label; |
| | | } |
| | | |