<?php

namespace Database\Factories;

use App\Enums\ApprovalStatus;
use App\Models\MediaTaskAssignment;
use App\Models\Report;
use Illuminate\Database\Eloquent\Factories\Factory;

/**
 * @extends Factory<Report>
 */
class ReportFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array<string, mixed>
     */
    public function definition(): array
    {
        return [
            'media_task_assignment_id' => MediaTaskAssignment::factory(),
            'title' => fake()->sentence(),
            'publication_date' => fake()->date(),
            'link' => fake()->url(),
            'description' => fake()->paragraph(),
            'status' => ApprovalStatus::PENDING,
        ];
    }
}
