hasOne(ServiceMeta::class, 'service_id'); } public function getFullImageAttribute() { return $this->image_path ? asset('storage/uploads/'.$this->image_path) : asset('source/images/default.jpg'); } }