<?php

namespace Database\Factories;

use App\Models\Location;
use App\Models\PlatformLocation;
use Illuminate\Database\Eloquent\Factories\Factory;

/**
 * @extends Factory<PlatformLocation>
 */
class PlatformLocationFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array<string, mixed>
     */
    public function definition(): array
    {
        return [
            'location_id' => Location::factory(),
            'platform' => 'google',
            'external_id' => 'geoTargetConstants/'.$this->faker->unique()->numberBetween(1000, 9999999),
            'provider_name' => null,
            'status' => 'verified',
            'verified_at' => now(),
        ];
    }
}
