<?php

namespace Database\Factories;

use App\Enums\IssueSentiment;
use App\Models\Classification;
use App\Models\IssueManagement;
use App\Models\Location;
use App\Models\MediaMonitoring;
use Illuminate\Database\Eloquent\Factories\Factory;

/**
 * @extends Factory<IssueManagement>
 */
class IssueManagementFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array<string, mixed>
     */
    public function definition(): array
    {
        return [
            'location_id' => Location::factory(),
            'classification_id' => Classification::factory(),
            'media_monitoring_id' => MediaMonitoring::factory(),
            'issue' => IssueSentiment::NEUTRAL,
            'response' => IssueSentiment::NEUTRAL,
            'description' => fake()->paragraph(),
        ];
    }
}
