'integer', ]; public function getTitleAttribute(): string { return app()->getLocale() === 'ar' ? $this->title_ar : $this->title_en; } public function getDescriptionAttribute(): string { return app()->getLocale() === 'ar' ? $this->description_ar : $this->description_en; } /** Public URL for the resume (public/uploads) */ public function getResumeUrlAttribute(): ?string { return $this->resume ? asset($this->resume) : null; } public function scopeOrdered($query) { return $query->orderBy('sort_order')->orderBy('id'); } }