mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim-api.git
synced 2026-08-22 14:04:05 +00:00
25 lines
396 B
PHP
25 lines
396 B
PHP
<?php
|
|
|
|
namespace App;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class Shipmentitem extends Model
|
|
{
|
|
protected $fillable = [
|
|
'id',
|
|
'so_id',//shipping order
|
|
'sa_id',//shipment arrangement
|
|
];
|
|
|
|
public function so()
|
|
{
|
|
return $this->belongsTo('App\So');
|
|
}
|
|
|
|
public function shipment()
|
|
{
|
|
return $this->belongsTo('App\Shipment');
|
|
}
|
|
}
|