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.
39 lines
795 B
39 lines
795 B
<?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', |
|
'password', |
|
'session_login', |
|
'name', |
|
'phone_number', |
|
'email', |
|
'address', |
|
'fcm_token', |
|
'gender', |
|
'birth_place', |
|
'birth_date', |
|
'blood_type', |
|
'ktp_number', |
|
'employee_type', |
|
'status_resource', |
|
'created_at', |
|
'created_by', |
|
'updated_at', |
|
'updated_by', |
|
'divisi_id', |
|
'status_boundary', |
|
'company_id' |
|
]; |
|
}
|
|
|