<?php

namespace Database\Factories;

use App\Models\Journalist;
use App\Models\PartnerMedia;
use Illuminate\Database\Eloquent\Factories\Factory;

/**
 * @extends Factory<Journalist>
 */
class JournalistFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array<string, mixed>
     */
    public function definition(): array
    {
        return [
            'partner_media_id' => PartnerMedia::factory(),
            'name' => fake()->name(),
            'email' => fake()->unique()->safeEmail(),
            'phone_number' => fake()->phoneNumber(),
        ];
    }
}
