<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Client extends Model
{
    protected $fillable = [
        'unique_id',
        'ip',
        'action',
        'last_page',
        'last_seen_at',
        'is_online',
        'language',
        'ban',
        'country_code',
        'isp',
        'why',
        'bot_score',
        'bot_verdict',
        'captcha_passed_at',
    ];

    protected $casts = [
        'ban' => 'boolean',
        'captcha_passed_at' => 'datetime',
        'last_seen_at' => 'datetime',
        'is_online' => 'boolean',
    ];
}
