<?php

namespace App\Models;

use CodeIgniter\Model;

class UserModel extends Model
{
    protected $table            = 'users'; // Memang pakai 's'
    protected $primaryKey       = 'id_user';
    protected $useAutoIncrement = true;

    protected $allowedFields    = [
        'username',
        'password',
        'nama_lengkap',
        'role'
    ];
}
