belongsTo(Country::class); } protected static function newFactory(): PackageFactory { //return PackageFactory::new(); } /** * */ public function getFullImageAttribute() { $result = null; if($this->image_path) { $result = asset('storage/uploads/' . $this->image_path); } return $result; } }