package xtools.boot.api.model.dto.resp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * <p>Title : TreeResp</p>
 * <p>Description : TreeResp</p>
 * <p>DevelopTools : Idea_x64_v2026.1</p>
 * <p>DevelopSystem : macOS Sequoia 15.7.5</p>
 * <p>Company : org.xujun</p>
 *
 * @author : XuJun
 * @version : 5.0.0
 * @date : 2026/1/30 09:39
 */
@Data
public class TreeResp implements Serializable {

    /**
     * 父id
     */
    @Schema(description = "父id", example = "1")
    private Long parentId;

    /**
     * 值
     */
    @Schema(description = "值", example = "1")
    private Long value;

    /**
     * 标签
     */
    @Schema(description = "标签", example = "1")
    private String label;

    /**
     * 子项
     */
    @Schema(description = "子项")
    private List<TreeResp> children;

}
