<?php

namespace App\Models;

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

class AppSetting extends Model
{
    use HasFactory;

    protected $fillable = [
        'app_name',
        'app_logo',
        'currency_symbol',
        'currency_code',
        'app_version_android',
        'app_version_ios',
        'force_update',
        'enable_ar_tryon',
        'enable_iris_colorizer',
        'razorpay_key_id',
        'razorpay_key_secret',
        'fcm_server_key',
        'mail_mailer',
        'mail_host',
        'mail_port',
        'mail_username',
        'mail_password',
        'mail_encryption',
        'mail_from_address',
        'mail_from_name',
        'contact_phone',
        'contact_email',
        'privacy_policy_url',
        'terms_conditions_url',
    ];

    protected $casts = [
        'force_update' => 'boolean',
        'enable_ar_tryon' => 'boolean',
        'enable_iris_colorizer' => 'boolean',
    ];
}
