feat: edit tour Model

This commit is contained in:
2026-08-18 16:24:27 -07:00
parent b56c9de4ce
commit 78ea870a8f
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -12,7 +12,7 @@ use Illuminate\Database\Eloquent\Model;
/**
* Class TourDate
*
*
* @property int $id
* @property int $tour_id
* @property Carbon $departure_date
@@ -22,7 +22,7 @@ use Illuminate\Database\Eloquent\Model;
* @property int $status
* @property Carbon $created_at
* @property Carbon $updated_at
*
*
* @property Tour $tour
* @property Collection|Booking[] $bookings
*
@@ -57,6 +57,6 @@ class TourDate extends Model
public function bookings()
{
return $this->hasMany(Booking::class, 'toure_date_id');
return $this->hasMany(Booking::class, 'tour_date_id');
}
}