feat:complete tours for admin side

This commit is contained in:
2026-08-20 16:50:40 +03:30
parent 1ee787862e
commit 7660124ed5
6 changed files with 37 additions and 18 deletions
+4 -3
View File
@@ -6,13 +6,14 @@
namespace App\Models;
use App\Enums\TourDateStatus;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Collection;
use Illuminate\Database\Eloquent\Model;
/**
* Class TourDate
*
*
* @property int $id
* @property int $tour_id
* @property Carbon $start_date
@@ -22,7 +23,7 @@ use Illuminate\Database\Eloquent\Model;
* @property int $status
* @property Carbon $created_at
* @property Carbon $updated_at
*
*
* @property Tour $tour
* @property Collection|Booking[] $bookings
*
@@ -39,7 +40,7 @@ class TourDate extends Model
'end_date' => 'datetime',
'price' => 'int',
'capacity' => 'int',
'status' => 'int'
'status' => TourDateStatus::class,
];
protected $fillable = [