package com.lesingle.edu.dto.request;

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

/**
 * 添加教师到班级请求
 */
@Data
@Schema(description = "添加教师到班级请求")
public class AddClassTeacherRequest {

    @NotNull(message = "教师 ID 不能为空")
    @Schema(description = "教师 ID", required = true, example = "1")
    private Long teacherId;

    @NotBlank(message = "角色不能为空")
    @Schema(description = "角色：MAIN(主班教师)|ASSIST(配班教师)|CARE(保育员)", required = true,
            example = "MAIN", allowableValues = {"MAIN", "ASSIST", "CARE"})
    private String role;
}
