belongsTo(User::class); } /** * Get the portfolio name. */ public function getPortfolioName(): string { return $this->name; } /** * Get the portfolio domain. */ public function getPortfolioDomain(): string { return $this->domain; } /** * Get the file storage path for this portfolio. */ public function getStoragePath(): string { return "portfolios/{$this->name}/{$this->id}"; } }