<?php

namespace Database\Factories;

use App\Enums\MediaClassification;
use App\Enums\MediaType;
use App\Models\Company;
use App\Models\PartnerMedia;
use Illuminate\Database\Eloquent\Factories\Factory;

/**
 * @extends Factory<PartnerMedia>
 */
class PartnerMediaFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array<string, mixed>
     */
    public function definition(): array
    {
        return [
            'company_id' => Company::factory(),
            'name' => fake()->company(),
            'address' => fake()->address(),
            'link' => fake()->url(),
            'type' => MediaType::ONLINE,
            'classification' => MediaClassification::LOCAL,
        ];
    }
}
