update real-time ke lms
This commit is contained in:
@@ -23,6 +23,17 @@ class User extends Model
|
||||
'full_name',
|
||||
];
|
||||
|
||||
protected $primaryKey = 'nID';
|
||||
protected $fillable = [
|
||||
'nID',
|
||||
'sFirstName',
|
||||
'sLastName',
|
||||
'sPhone',
|
||||
'sEmail',
|
||||
'nIDHubunganKeluarga',
|
||||
'dUpdateOn',
|
||||
];
|
||||
|
||||
protected function fullName(): Attribute
|
||||
{
|
||||
return Attribute::make(
|
||||
|
||||
@@ -14,7 +14,19 @@ class UserDetail extends Model
|
||||
const DELETED_AT = 'dDeleteOn';
|
||||
|
||||
protected $connection = 'oldlms';
|
||||
protected $primaryKey = 'nID';
|
||||
|
||||
protected $table = 'tm_users_detail';
|
||||
|
||||
protected $fillable = [
|
||||
'nIDUser',
|
||||
'dTanggalLahir',
|
||||
'dCreateOn',
|
||||
'sMartialStatus',
|
||||
'nIDJenisKelamin',
|
||||
'sCreateBy',
|
||||
'sKTP',
|
||||
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
@@ -15,6 +15,16 @@ class UserInsurance extends Model
|
||||
const DELETED_AT = 'dDeleteOn';
|
||||
|
||||
protected $connection = 'oldlms';
|
||||
protected $primaryKey = 'nIDUser';
|
||||
|
||||
protected $table = 'tm_users_insurance';
|
||||
protected $fillable = [
|
||||
'nIDUser',
|
||||
'sNamaPeserta',
|
||||
'dStartDate',
|
||||
'dExpireDate',
|
||||
'dTanggalLahir',
|
||||
'nNoKTP',
|
||||
'sNoPolis',
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user