mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 12:34:18 +00:00
32 lines
561 B
PHP
32 lines
561 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
|
|
|
use Illuminate\Database\Eloquent\SoftDeletes;
|
|
|
|
/**
|
|
* Class ExchangeBookingOrder
|
|
* @package App\Models
|
|
*
|
|
* @property \App\Models\Order order_id
|
|
*/
|
|
class ExchangeBookingOrder extends AbstractModel
|
|
{
|
|
use SoftDeletes;
|
|
|
|
protected $table = 'exchange_booking_orders';
|
|
|
|
protected $dates = ['deleted_at'];
|
|
|
|
/**
|
|
* @return BelongsTo
|
|
*/
|
|
public function order(): BelongsTo
|
|
{
|
|
return $this->BelongsTo(Order::class, 'order_id', 'id');
|
|
}
|
|
|
|
}
|