<?php

namespace Database\Factories;

use App\Models\Terminal;
use App\Models\TerminalPrompt;
use Illuminate\Database\Eloquent\Factories\Factory;

/**
 * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\TerminalPrompt>
 */
class TerminalPromptFactory extends Factory
{
    protected $model = TerminalPrompt::class;

    /**
     * Define the model's default state.
     *
     * @return array<string, mixed>
     */
    public function definition(): array
    {
        return [
            'terminal_id' => Terminal::factory(),
            'prompt_template' => $this->faker->paragraph(5),
            'variables' => ['user', 'station', 'time'],
        ];
    }
}
