/home2/mshostin/carnival.ms-hostingladz.com/app/Models/FAQ.php
<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use App\Models\EventsCountryTab;

class FAQ extends Model
{
    use HasFactory;

    protected $table = 'faqs';

    protected $fillable = [
        'modelable_type',
        'modelable_id',
        'question',
        'answer',
        'status',
    ];

    public function eventsCountryTab()
    {
        return $this->belongsTo(EventsCountryTab::class, 'modelable_id');
    }

    // public function modelable()
    // {
    //     return $this->morphTo();
    // }
}