<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\MorphTo;

class SlugHistory extends Model
{
    /**
     * The attributes that are mass assignable.
     *
     * @var array<string>
     */
    protected $fillable = [
        'slug',
    ];

    /**
     * Get the parent sluggable model.
     */
    public function sluggable(): MorphTo
    {
        return $this->morphTo();
    }
}