package com.lesingle.creation.vo.school;

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

import java.util.List;

/**
 * 班级树节点 VO
 */
@Data
@Schema(description = "班级树节点")
public class ClassTreeNodeVO {

    @Schema(description = "班级 ID")
    private Long id;

    @Schema(description = "班级名称")
    private String name;

    @Schema(description = "班级编码")
    private String code;

    @Schema(description = "年级 ID")
    private Long gradeId;

    @Schema(description = "年级名称")
    private String gradeName;

    @Schema(description = "子节点（小班、中班、大班等）")
    private List<ClassTreeNodeVO> children;
}
