Custom Backend OSPRO Surveyor Indonesia
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Models;
|
|
|
|
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
|
|
|
|
class HumanResource extends Model
|
|
|
|
{
|
|
|
|
protected $table = 'm_users';
|
|
|
|
|
|
|
|
const CREATED_AT = 'created_at';
|
|
|
|
const UPDATED_AT = 'updated_at';
|
|
|
|
|
|
|
|
protected $fillable = [
|
|
|
|
'role_id',
|
|
|
|
'username',
|
|
|
|
'discount_id',
|
|
|
|
'password',
|
|
|
|
'session_login',
|
|
|
|
'name',
|
|
|
|
'phone_number',
|
|
|
|
'email',
|
|
|
|
'address',
|
|
|
|
'fcm_token',
|
|
|
|
'gender',
|
|
|
|
'birth_place',
|
|
|
|
'birth_date',
|
|
|
|
'blood_type',
|
|
|
|
'ktp_number',
|
|
|
|
'company_id',
|
|
|
|
'employee_type',
|
|
|
|
'status_resource',
|
|
|
|
'created_at',
|
|
|
|
'created_by',
|
|
|
|
'updated_at',
|
|
|
|
'updated_by',
|
|
|
|
'divisi_id',
|
|
|
|
'status_boundary',
|
|
|
|
'is_customer'
|
|
|
|
];
|
|
|
|
}
|