<?php

namespace App\Models;

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

class Setting extends Model
{
    use HasFactory;

    protected $fillable = [
        'id',
        'app_name',
        'app_version',
        'app_base_url',
        'app_title',
        'app_description',
        'app_keyword',
        'app_admin',
        'app_contact',
        'app_meta',
        'app_social',
        'app_header',
        'app_footer',
        'imap_settings',
        'configuration_settings',
        'ads_settings',
    ];

    protected $casts = [
        'app_meta' => 'json',
        'app_social' => 'json',
        'imap_settings' => 'json',
        'configuration_settings' => 'json',
        'ads_settings' => 'json',
    ];
}
