<?php

declare(strict_types=1);

namespace TechnoArtisan\FilamentCms\Models;

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

class WebsiteSettingGroup extends Model
{
    protected $table = 'fcms_website_setting_groups';

    /**
     * The attributes that are mass-assignable.
     *
     * @var list<string>
     */
    protected $fillable = [
        'name',
    ];

    /**
     * The attributes that should be hidden for serialization.
     *
     * @var list<string>
     */
    protected $hidden = [
    ];

    public function settings(): HasMany
    {
        return $this->hasMany(WebsiteSettings::class);
    }
}
