From 83671d8f10497fff397b370fb70e5abd28fceeac Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期五, 04 三月 2022 15:27:28 +0800 Subject: [PATCH] Merge branch 'wvp-28181-2.0' into wvp-pro-record --- src/main/java/com/genersoft/iot/vmp/utils/node/BaseNode.java | 32 ++++++++++++++++++++++++++++++-- 1 files changed, 30 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/utils/node/BaseNode.java b/src/main/java/com/genersoft/iot/vmp/utils/node/BaseNode.java index 6b95508..7835feb 100644 --- a/src/main/java/com/genersoft/iot/vmp/utils/node/BaseNode.java +++ b/src/main/java/com/genersoft/iot/vmp/utils/node/BaseNode.java @@ -1,7 +1,6 @@ package com.genersoft.iot.vmp.utils.node; import com.fasterxml.jackson.annotation.JsonInclude; -import lombok.Data; import java.util.ArrayList; import java.util.List; @@ -10,7 +9,6 @@ * 鑺傜偣鍩虹被 * */ -@Data public class BaseNode<T> implements INode<T> { private static final long serialVersionUID = 1L; @@ -51,4 +49,34 @@ } } + @Override + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + @Override + public String getParentId() { + return parentId; + } + + public void setParentId(String parentId) { + this.parentId = parentId; + } + + @Override + public List<T> getChildren() { + return children; + } + + public void setChildren(List<T> children) { + this.children = children; + } + + public void setHasChildren(Boolean hasChildren) { + this.hasChildren = hasChildren; + } } -- Gitblit v1.8.0