<?php

namespace Database\Factories;

use App\Models\User;
use Illuminate\Database\Eloquent\Factories\Factory;

class OwnerVerificationRequestFactory extends Factory
{
    public function definition(): array
    {
        return [
            'action' => fake()->randomElement(['create', 'update', 'delete']),
            'status' => 'pending',
            'submitted_by_id' => User::factory(),
            'payload' => json_encode(['key' => fake()->word(), 'value' => fake()->sentence()]),
            'verified_at' => null,
        ];
    }
}
