diff --git a/app/Models/User.php b/app/Models/User.php index b74b85a..c9ed975 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -103,4 +103,14 @@ class User extends Model implements AuthenticatableContract, AuthorizableContrac 'id_bank_country', 'iban' ]; + + public function identification() + { + return $this->hasOne(Identification::class, 'id_user'); + } + + public function network() + { + return $this->belongsTo(Network::class, 'network_id'); + } }