<?php

namespace Database\Factories;

use Illuminate\Database\Eloquent\Factories\Factory;

use App\Models\Tag;
use App\Models\Page;

class TimetableContentFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array
     */
    public function definition()
    {
        return [
            'tag_id' => Tag::factory()->create(),
            'header' => $this->faker->sentence($this->faker->numberBetween(1, 5)),
            'body' => $this->faker->paragraph(),
            'style' => 'gray',
            'link' => Page::factory()->create()->id,
            'link_text' => $this->faker->sentence(),
            'inline' => $this->faker->boolean(),
        ];
    }
}
