'object', ]; public function client() { return $this->hasOne(Client::class); } public function gateway() { return $this->hasOne(CompanyGateway::class); } public function gateway_type() { return $this->hasOne(GatewayType::class, 'id','gateway_type_id'); } public function company() { return $this->hasOne(Company::class); } public function user() { return $this->hasOne(User::class); } }