<?php

declare(strict_types=1);

namespace Database\Factories;

use Illuminate\Database\Eloquent\Factories\Factory;
use Seka\Vzdelavanie\Models\Kniznica\Sekcia;

/**
 * Class KniznicaSekciaFactory
 *
 * @package Database\Factories
 */
class KniznicaSekciaFactory extends Factory {
    /**
     * @var string
     */
    protected $model = Sekcia::class;

    /**
     * @return array
     */
    public function definition(): array
    {
        return [
            'nazov' => $this->faker->realText(30),
            'obsah' => $this->faker->paragraph($nbSentences = rand(5, 15), $variableNbSentences = true),
        ];
    }
}
