<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;

class SongSlide extends Model
{
    use HasFactory;

    protected $fillable = [
        'song_section_id',
        'order',
        'text_content',
        'text_content_translated',
        'notes',
    ];

    public function section(): BelongsTo
    {
        return $this->belongsTo(SongSection::class, 'song_section_id');
    }
}
