10 lines
400 B
PHP
10 lines
400 B
PHP
|
|
<?php namespace App\Models;
|
||
|
|
|
||
|
|
use CodeIgniter\Model;
|
||
|
|
|
||
|
|
class UsersModel extends Model {
|
||
|
|
protected $table = 'users';
|
||
|
|
protected $primaryKey = 'userid';
|
||
|
|
protected $allowedFields = [ 'usernumber', 'firstname', 'lastname', 'initial', 'birthdate', 'email_1', 'email_2', 'phone',
|
||
|
|
'userposid', 'userdeptid', 'position', 'reportto', 'offid', 'password', 'level', 'createdate', 'startdate', 'enddate'];
|
||
|
|
}
|