<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class PackageBooking extends Model
{
protected $fillable = [
    'user_id',
    'package_id',
    'customer_name',
    'customer_email',
    'customer_phone',
    'customer_address',
    'special_requests',
    'start_date',
    'end_date',
    'adults',
    'children',
    'base_price',
    'total_price',
    'currency',
    'payment_method',
    'payment_status',
    'transaction_id',
    'payment_details',
    'booking_status',
    'booking_reference'
];

protected $casts = [
    'start_date' => 'date',
    'end_date' => 'date',
    'payment_details' => 'array'
];
}
