<?php

namespace App\Models;

use CodeIgniter\Model;

class UserModel extends Model
{
    protected $table = 'users';
    protected $primaryKey = 'id';
    protected $allowedFields = [
        'user_id',
        'username',
        'name',
        'image',
        'role',
    ];
    protected $useTimestamps = true;
    protected $returnType = 'object';
}
