26 lines
482 B
PHP
26 lines
482 B
PHP
<?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 = [
|
|
'label_id',
|
|
'order',
|
|
'text_content',
|
|
'text_content_translated',
|
|
'notes',
|
|
];
|
|
|
|
public function label(): BelongsTo
|
|
{
|
|
return $this->belongsTo(Label::class);
|
|
}
|
|
}
|