<?php

namespace App\Http\Requests\Students;

use App\Http\Requests\ApiFormRequest;

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