mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim-api.git
synced 2026-08-19 04:24:01 +00:00
36 lines
632 B
PHP
36 lines
632 B
PHP
<?php
|
|
|
|
namespace App;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class Warehousearr extends Model
|
|
{
|
|
protected $fillable = [
|
|
'id',
|
|
'so_id',
|
|
'receive_on',
|
|
'transport_company_name',
|
|
'consignment_note_no',
|
|
'warehouse_receive_note_no',
|
|
'receiving_person',
|
|
'marking_number',
|
|
'image',
|
|
];
|
|
|
|
public function warehouseitem()
|
|
{
|
|
return $this->hasMany('App\Warehouseitem');
|
|
}
|
|
|
|
public function decision()
|
|
{
|
|
return $this->hasOne('App\Decision');
|
|
}
|
|
|
|
public function so()
|
|
{
|
|
return $this->hasOne('App\So');
|
|
}
|
|
}
|