wahyu
1 year ago
1 changed files with 38 additions and 38 deletions
@ -1,38 +1,38 @@ |
|||||||
<?php |
<?php |
||||||
|
|
||||||
namespace App\Models; |
namespace App\Models; |
||||||
|
|
||||||
use Illuminate\Database\Eloquent\Model; |
use Illuminate\Database\Eloquent\Model; |
||||||
|
|
||||||
class HumanResource extends Model |
class HumanResource extends Model |
||||||
{ |
{ |
||||||
protected $table = 'm_users'; |
protected $table = 'm_users'; |
||||||
|
|
||||||
const CREATED_AT = 'created_at'; |
const CREATED_AT = 'created_at'; |
||||||
const UPDATED_AT = 'updated_at'; |
const UPDATED_AT = 'updated_at'; |
||||||
|
|
||||||
protected $fillable = [ |
protected $fillable = [ |
||||||
'role_id', |
'role_id', |
||||||
'username', |
'username', |
||||||
'password', |
'password', |
||||||
'session_login', |
'session_login', |
||||||
'name', |
'name', |
||||||
'phone_number', |
'phone_number', |
||||||
'email', |
'email', |
||||||
'address', |
'address', |
||||||
'fcm_token', |
'fcm_token', |
||||||
'gender', |
'gender', |
||||||
'birth_place', |
'birth_place', |
||||||
'birth_date', |
'birth_date', |
||||||
'blood_type', |
'blood_type', |
||||||
'ktp_number', |
'ktp_number', |
||||||
'employee_type', |
'employee_type', |
||||||
'status_resource', |
'status_resource', |
||||||
'created_at', |
'created_at', |
||||||
'created_by', |
'created_by', |
||||||
'updated_at', |
'updated_at', |
||||||
'updated_by', |
'updated_by', |
||||||
'divisi_id', |
'divisi_id', |
||||||
'status_boundary' |
'status_boundary' |
||||||
]; |
]; |
||||||
} |
} |
||||||
|
Loading…
Reference in new issue