package com.lesingle.creation.vo.schoolclass;

import com.lesingle.creation.vo.grade.GradeVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 班级响应 VO
 */
@Data
@Schema(description = "班级响应")
public class ClassVO {

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

    @Schema(description = "租户 ID")
    private Long tenantId;

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

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

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

    @Schema(description = "班级类型：1-行政班级，2-兴趣班")
    private Integer type;

    @Schema(description = "班级容量")
    private Integer capacity;

    @Schema(description = "班级描述")
    private String description;

    @Schema(description = "有效状态")
    private Integer validState;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

    @Schema(description = "关联年级信息")
    private GradeVO grade;
}
