package com.yhy.module.core.controller.admin.workbench.vo.calcbaserate;

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

import java.util.List;

/**
 * 基数费率目录节点 VO（工作台项目指引使用）
 *
 * @author yhy
 */
@Data
@Schema(description = "基数费率目录节点 VO")
public class CalcBaseRateDirectoryRespVO {

    @Schema(description = "节点ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "123")
    private Long id;

    @Schema(description = "父节点ID", example = "456")
    private Long parentId;

    @Schema(description = "目录名称", example = "土石方工程")
    private String name;

    @Schema(description = "排序", example = "1")
    private Integer sortOrder;

    @Schema(description = "子节点列表")
    private List<CalcBaseRateDirectoryRespVO> children;
}
