<?php

namespace App\Http\Requests\Families;

use App\Http\Requests\ApiFormRequest;

class FamilyAdminIndexRequest extends ApiFormRequest
{
    public function authorize(): bool
    {
        return auth()->check();
    }

    public function rules(): array
    {
        return [
            'student_id' => ['nullable', 'integer', 'min:1'],
            'guardian_id' => ['nullable', 'integer', 'min:1'],
        ];
    }
}
