<?php

namespace App\Http\Requests\Parents;

use App\Http\Requests\ApiFormRequest;

class ParentEnrollmentActionRequest extends ApiFormRequest
{
    public function rules(): array
    {
        return [
            'enroll' => ['nullable', 'array'],
            'enroll.*' => ['integer', 'min:1'],
            'withdraw' => ['nullable', 'array'],
            'withdraw.*' => ['integer', 'min:1'],
        ];
    }
}
