LAR_Maintenance/app/Models/Setting.php

18 lines
319 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\MorphTo;
class Setting extends Model
{
use HasFactory;
public function settingable(): MorphTo
{
return $this->morphTo();
}
}