<?php

namespace App\Http\Requests\Teachers;

use App\Http\Requests\ApiFormRequest;

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