<?php

namespace Database\Factories;

use App\Models\SongSection;
use App\Models\SongSlide;
use Illuminate\Database\Eloquent\Factories\Factory;

class SongSlideFactory extends Factory
{
    protected $model = SongSlide::class;

    public function definition(): array
    {
        return [
            'song_section_id' => SongSection::factory(),
            'order' => $this->faker->numberBetween(1, 12),
            'text_content' => implode("\n", $this->faker->sentences(3)),
            'text_content_translated' => $this->faker->optional()->sentence(),
            'notes' => $this->faker->optional()->sentence(),
        ];
    }
}
