mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim-api.git
synced 2026-08-19 12:34:06 +00:00
37 lines
631 B
PHP
37 lines
631 B
PHP
<?php
|
|
|
|
namespace App;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class Warehouseitem extends Model
|
|
{
|
|
protected $fillable = [
|
|
'id',
|
|
'description',
|
|
'nominal_ctn',
|
|
'actual_ctn',
|
|
'nominal_measurement',
|
|
'actual_measurement',
|
|
'nominal_weight',
|
|
'actual_weight',
|
|
'balance',
|
|
'isDamaged',
|
|
'status',
|
|
'image',
|
|
'wa_id',
|
|
'soitem_id',
|
|
];
|
|
|
|
public function warehousearr()
|
|
{
|
|
return $this->belongsTo('App\Warehousearr');
|
|
}
|
|
|
|
public function soitem()
|
|
{
|
|
return $this->hasOne('App\Soitem');
|
|
}
|
|
|
|
}
|