<?php

namespace App\Models;

use CodeIgniter\Model;

class UserAccountModel extends Model
{
    protected $table = 'ppdb_users_account';
    protected $primaryKey = 'id';

    protected $allowedFields = [
        'email',
        'username',
        'password',
        'full_name',
        'phone',
        'account_status',
        'registration_status',
        'email_verified_at',
        'verification_token',
        'reset_password_token',
        'reset_password_expired_at',
        'last_login',
        'login_attempt',
        'locked_until',
    ];

    protected $useTimestamps = true;
}
