package com.hdkj.lt.base.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * @Description
 * @Author wucx
 * @Date 2022/10/14 16:05
 * @Version 1.0
 */
@Setter
@Getter
@ApiModel("标准树形结构VO")
public class BaseTreeEntity<T> {

    @ApiModelProperty(value = "树形节点ID")
    private String id;

    @ApiModelProperty(value = "树形节点父ID")
    private String pid;

    @ApiModelProperty(value = "树形结构子节点")
    private List<T> children;

}
