From 5cac880acc6cc67f6385abd6562e5d9fb3589180 Mon Sep 17 00:00:00 2001 From: smallchill Date: Fri, 22 Feb 2019 09:20:07 +0800 Subject: [PATCH] =?UTF-8?q?:zap:=20=E5=88=A0=E9=99=A4userVO=E4=B8=8D?= =?UTF-8?q?=E9=9C=80=E8=A6=81=E7=9A=84=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../springblade/system/user/vo/UserVO.java | 26 +------------------ 1 file changed, 1 insertion(+), 25 deletions(-) diff --git a/blade-service-api/blade-user-api/src/main/java/org/springblade/system/user/vo/UserVO.java b/blade-service-api/blade-user-api/src/main/java/org/springblade/system/user/vo/UserVO.java index 02b07cb1..826905a2 100644 --- a/blade-service-api/blade-user-api/src/main/java/org/springblade/system/user/vo/UserVO.java +++ b/blade-service-api/blade-user-api/src/main/java/org/springblade/system/user/vo/UserVO.java @@ -16,16 +16,11 @@ */ package org.springblade.system.user.vo; -import com.fasterxml.jackson.annotation.JsonInclude; import io.swagger.annotations.ApiModel; import lombok.Data; import lombok.EqualsAndHashCode; -import org.springblade.core.tool.node.INode; import org.springblade.system.user.entity.User; -import java.util.ArrayList; -import java.util.List; - /** * 视图实体类 * @@ -35,7 +30,7 @@ import java.util.List; @Data @EqualsAndHashCode(callSuper = true) @ApiModel(value = "UserVO对象", description = "UserVO对象") -public class UserVO extends User implements INode { +public class UserVO extends User { private static final long serialVersionUID = 1L; /** @@ -43,25 +38,6 @@ public class UserVO extends User implements INode { */ private Integer id; - /** - * 父节点ID - */ - private Integer parentId; - - /** - * 子孙节点 - */ - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List children; - - @Override - public List getChildren() { - if (this.children == null) { - this.children = new ArrayList<>(); - } - return this.children; - } - /** * 角色名 */