Fix user notification v2

This commit is contained in:
Djery-Tom 2021-10-28 13:13:50 +01:00
parent f0ae44406e
commit dc5b4283da
1 changed files with 10 additions and 0 deletions

View File

@ -103,4 +103,14 @@ class User extends Model implements AuthenticatableContract, AuthorizableContrac
'id_bank_country', 'id_bank_country',
'iban' 'iban'
]; ];
public function identification()
{
return $this->hasOne(Identification::class, 'id_user');
}
public function network()
{
return $this->belongsTo(Network::class, 'network_id');
}
} }