<?php

namespace App\Models\Z_Website;

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

class SiteSettingsTheme extends Model
{
    use HasFactory;

    protected $table = 'site_settings_themes';
    protected $fillable = ['name', 'description'];

    public function siteSettings()
    {
        return $this->hasMany(SiteSettings::class, 'theme', 'name');
    }
}