<?php

namespace Database\Factories;

use App\Models\Timeline;
use App\Models\User;
use Illuminate\Database\Eloquent\Factories\Factory;

/**
 * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\TimelineUpdate>
 */
class TimelineUpdateFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array<string, mixed>
     */
    public function definition(): array
    {
        return [
            'timeline_id' => Timeline::factory(),
            'admin_id' => User::factory()->admin(),
            'update_text' => fake()->paragraph(),
        ];
    }
}
