mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim.git
synced 2026-08-19 04:24:00 +00:00
24 lines
439 B
PHP
Executable File
24 lines
439 B
PHP
Executable File
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
class ShippingArrangement extends AbstractModel
|
|
{
|
|
|
|
protected $table = 'shipping_arrangements';
|
|
|
|
protected $fillable = [
|
|
'order_id', 'container_no', 'seal_no'
|
|
];
|
|
|
|
public function shippingSchedule()
|
|
{
|
|
return $this->hasMany(ShippingSchedule::class, 'arrangement_id');
|
|
}
|
|
|
|
public function order()
|
|
{
|
|
return $this->belongsTo(Order::class, 'order_id');
|
|
}
|
|
}
|