hasOne(User::class, 'id', 'enter_user_id'); } public function recipient() { return $this->hasOne(User::class, 'id', 'recipient'); } // public function enter() // { // return $this->belongsTo(User::class, 'enter_user_id'); // } // public function recipient() // { // return $this->belongsTo(User::class, 'recipient'); // } public function country() { return $this->hasOne(Country::class, 'id', 'country'); } }