hasOne(Client::class, 'id', 'client_id'); } public function account() { return $this->hasOne(Account::class, 'id', 'account_id'); } }