/** * Copyright (c) 2018 人人开源 All rights reserved. * * https://www.renren.io * * 版权所有,侵权必究! */ package com.example.client.entity; import java.io.Serializable; import java.util.List; /** * 树节点,所有需要实现树节点的,都需要继承该类 * * @author hehz * @since 1.0.0 */ public interface TreeNode2 extends Serializable { String getId(); void setId(String id); String getPid(); void setPid(String pid); List getChildren(); }