com.flyfish.oauth.domain.raw.TreeDomain Maven / Gradle / Ivy
package com.flyfish.oauth.domain.raw;
import lombok.Getter;
import lombok.Setter;
import java.util.List;
@Getter
@Setter
public abstract class TreeDomain> extends Domain {
// 父id,顶级是0
private String parentId;
// 深度,遍历标识
private Integer depth;
// 冗余的字段,用来放儿子
private List children;
}