package com.lesingle.edu.dto.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
@Schema(description = "班级创建请求")
public class ClassCreateRequest {

    @NotBlank(message = "班级名称不能为空")
    @Schema(description = "班级名称")
    private String name;

    @Schema(description = "年级")
    private String grade;

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

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

    @Schema(description = "班主任教师 ID")
    private Long teacherId;

}
