<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class SecuritySetting extends Model
{
    protected $fillable = [
        'enable_captcha',
        'enable_2fa',
        'enable_ip_blocking',
        'enable_honeypot',
        'enable_login_log',
        'enable_data_backup',
        'enable_maintenance_mode',
    ];

    protected $casts = [
        'enable_captcha' => 'boolean',
        'enable_2fa' => 'boolean',
        'enable_ip_blocking' => 'boolean',
        'enable_honeypot' => 'boolean',
        'enable_login_log' => 'boolean',
        'enable_data_backup' => 'boolean',
        'enable_maintenance_mode' => 'boolean',
    ];
}
