<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class BookingItem extends Model
{
    use HasFactory;

    protected $fillable = [
        'booking_id',
        'description',
        'quantity',
        'unit',
        'rate',
        'carton_count',
        'cartons',
        'baggage',
        'custom_label',
        'custom_value',
        'weight_kg',
        'volume_cbm',
        'amount'
    ];

    public function booking()
    {
        return $this->belongsTo(Booking::class);
    }
}
