<?php 
namespace App\Models;
use CodeIgniter\Model;
 
class UsersModel extends Model
{
    protected $table = 'userlist';
    protected $primaryKey = 'id';
    protected $allowedFields = ['name', 'email'];
}