git add .

git commit  "add tours pages, components and show views"
This commit is contained in:
2026-08-17 11:36:19 +03:30
parent e99c340f1e
commit 970786ae94
15 changed files with 595 additions and 249 deletions
+6 -2
View File
@@ -11,7 +11,7 @@ use Illuminate\Database\Eloquent\Model;
/**
* Class TravelType
*
*
* @property int $id
* @property string $name
* @property int $status
@@ -33,4 +33,8 @@ class TravelType extends Model
'name',
'status'
];
}
public function tours()
{
return $this->hasMany(Tour::class, 'travel_type_id');
}
}