<?php

namespace App\Http\Requests\Teachers;

use App\Http\Requests\ApiFormRequest;

class TeacherAssignmentDeleteRequest extends ApiFormRequest
{
    public function rules(): array
    {
        return [
            'teacher_id' => ['required', 'integer', 'min:1'],
            'class_section_id' => ['required', 'integer', 'min:1'],
            'position' => ['required', 'in:main,ta'],
            'school_year' => ['nullable', 'string'],
        ];
    }
}
