<?php

namespace Database\Factories;

use App\Models\Cooperation;
use App\Models\TaskAssignment;
use Illuminate\Database\Eloquent\Factories\Factory;

/**
 * @extends Factory<TaskAssignment>
 */
class TaskAssignmentFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array<string, mixed>
     */
    public function definition(): array
    {
        return [
            'cooperation_id' => Cooperation::factory(),
            'start_date' => fake()->date(),
            'end_date' => fake()->date(),
            'task_description' => fake()->paragraph(),
            'report_amount' => fake()->numberBetween(1, 10),
        ];
    }
}
