16 lines
253 B

<?php
namespace App\Models;
use CodeIgniter\Model;
class Mauth extends Model
{
function cekuser($username)
{
$builder = $this->db->table('PEGAWAI');
$builder->where('NIP9', $username);
return $builder->get();
}
}