| | |
| | | package com.genersoft.iot.vmp.utils.node; |
| | | |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | |
| | | |
| | | /** |
| | | * 森林节点类 |
| | | * |
| | | */ |
| | | @Data |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class ForestNode extends BaseNode<ForestNode> { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | |
| | | */ |
| | | private Object content; |
| | | |
| | | public ForestNode(int id, String parentId, Object content) { |
| | | this.id = id; |
| | | public ForestNode(String id, String parentId, Object content) { |
| | | this.channelId = id; |
| | | this.parentId = parentId; |
| | | this.content = content; |
| | | } |
| | | |
| | | public Object getContent() { |
| | | return content; |
| | | } |
| | | |
| | | public void setContent(Object content) { |
| | | this.content = content; |
| | | } |
| | | } |