package org.sxkj.system.vo; import com.fasterxml.jackson.annotation.JsonInclude; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.util.List; @Data public class TreeVo { /** * 父节点名称 */ private String name; /** * 父 id */ private String parentId; /** * id */ private String id; /** * 数量 */ private Double number; @ApiModelProperty(value = "行政区划级别", example = "") private Integer regionLevel; /** * 数据 */ private List data; /** * 是否有子孙节点 */ @JsonInclude(JsonInclude.Include.NON_EMPTY) private Boolean hasChildren; /** * 子孙节点 */ @JsonInclude(JsonInclude.Include.NON_EMPTY) private List childrens; }