This commit is contained in:
2026-08-15 12:35:30 +03:30
commit 60936f504d
77 changed files with 14152 additions and 0 deletions
+50
View File
@@ -0,0 +1,50 @@
<?php
/**
* Created by Reliese Model.
*/
namespace App\Models;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;
/**
* Class BookingPassenger
*
* @property int $id
* @property int $booking_id
* @property int $passenger_id
* @property bool $passenger_type
* @property string $seat_number
* @property string $ticket_number
* @property int $price
* @property bool $status
* @property Carbon $created_at
* @property Carbon $updated_at
*
* @package App\Models
*/
class BookingPassenger extends Model
{
protected $table = 'booking_passengers';
public static $snakeAttributes = false;
protected $casts = [
'booking_id' => 'int',
'passenger_id' => 'int',
'passenger_type' => 'bool',
'price' => 'int',
'status' => 'bool'
];
protected $fillable = [
'booking_id',
'passenger_id',
'passenger_type',
'seat_number',
'ticket_number',
'price',
'status'
];
}