hasOne(Photographer::class, 'id', 'photographer_id'); } public function studio() { return $this->hasOne(Studio::class, 'id', 'studio_id'); } }