mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
32 lines
567 B
PHP
32 lines
567 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
|
|
|
use Illuminate\Database\Eloquent\SoftDeletes;
|
|
|
|
/**
|
|
* Class ShippingOrderBooking
|
|
* @package App\Models
|
|
*
|
|
* @property \App\Models\Order order_id
|
|
*/
|
|
class ShippingOrderBooking extends AbstractModel
|
|
{
|
|
use SoftDeletes;
|
|
|
|
protected $table = 'shipping_order_bookings';
|
|
|
|
protected $dates = ['deleted_at'];
|
|
|
|
/**
|
|
* @return BelongsTo
|
|
*/
|
|
public function booking(): BelongsTo
|
|
{
|
|
return $this->BelongsTo(Booking::class, 'booking_id', 'id');
|
|
}
|
|
|
|
}
|