package com.newfiber.api.pc.model.EventsManage; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import java.io.Serializable; import java.util.List; /** * Created by Administrator on 2019/1/31. */ @JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL) public class Tree implements Serializable{ private static final long serialVersionUID = -5809782578272943999L; private String id; private String text; private List<Tree> children = null; public String getId() { return id; } public void setId(String id) { this.id = id; } public String getText() { return text; } public void setText(String text) { this.text = text; } public List<Tree> getChildren() { return children; } public void setChildren(List<Tree> children) { this.children = children; } }