hasOne(Client::class); } public function gateway() { return $this->hasOne(CompanyGateway::class); } public function company() { return $this->hasOne(Company::class); } public function user() { return $this->hasOne(User::class); } }