<?php

namespace App\Domain\Website\Models;

use App\Domain\Shared\Traits\BelongsToAcademy;
use Illuminate\Database\Eloquent\Model;

class WebsiteSetting extends Model
{
    use BelongsToAcademy;

    protected $fillable = [
        'academy_id',
        'template',
        'primary_color',
        'secondary_color',
        'accent_color',
        'text_color',
        'heading_font',
        'body_font',
        'navbar_style',
        'site_title',
        'site_title_en',
        'site_description',
        'site_description_en',
        'social_links',
        'whatsapp_number',
        'custom_css',
        'google_analytics_id',
        'facebook_pixel_id',
        'is_published',
        'published_at',
    ];

    protected $casts = [
        'social_links' => 'array',
        'is_published' => 'boolean',
        'published_at' => 'datetime',
    ];
}
