<?php

namespace Database\Factories;

use App\Enums\ApprovalStatus;
use App\Models\Cooperation;
use App\Models\CooperationProposal;
use App\Models\PartnerMedia;
use Illuminate\Database\Eloquent\Factories\Factory;

/**
 * @extends Factory<CooperationProposal>
 */
class CooperationProposalFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array<string, mixed>
     */
    public function definition(): array
    {
        return [
            'cooperation_id' => Cooperation::factory(),
            'partner_media_id' => PartnerMedia::factory(),
            'description' => fake()->paragraph(),
            'status' => ApprovalStatus::PENDING,
        ];
    }
}
