belongsTo(NewsParagraph::class); } protected function photoImgUrl(): Attribute { return Attribute::make( get: fn ($value) => is_null($this->img_url) ? null :Storage::url($this->img_url), ); } }