<?php

namespace Database\Factories;

use App\Enums\DecisionAdmin;
use App\Models\User;
use App\Models\VerificationRequest;
use App\Models\VerificationReview;
use Illuminate\Database\Eloquent\Factories\Factory;

/**
 * @extends Factory<VerificationReview>
 */
class VerificationReviewFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array<string, mixed>
     */
    public function definition(): array
    {
        return [
            'verification_request_id' => VerificationRequest::factory(),
            'reviewer_id' => User::factory(),
            'decision' => DecisionAdmin::APPROVED,
            'note' => fake()->sentence(),
        ];
    }
}
