<?php

namespace Database\Factories;

use App\Models\Song;
use App\Models\SongGroup;
use Illuminate\Database\Eloquent\Factories\Factory;

class SongGroupFactory extends Factory
{
    protected $model = SongGroup::class;

    public function definition(): array
    {
        return [
            'song_id' => Song::factory(),
            'name' => $this->faker->randomElement(['Verse 1', 'Verse 2', 'Chorus', 'Bridge']),
            'color' => $this->faker->hexColor(),
            'order' => $this->faker->numberBetween(1, 10),
        ];
    }
}
