Fix user notification v2
This commit is contained in:
parent
f0ae44406e
commit
dc5b4283da
|
@ -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');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue