mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim-api.git
synced 2026-08-19 04:24:01 +00:00
27 lines
409 B
PHP
27 lines
409 B
PHP
<?php
|
|
|
|
namespace App;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class Decision extends Model
|
|
{
|
|
protected $fillable = [
|
|
'id',
|
|
'wa_id',
|
|
'decision_type',
|
|
'description',
|
|
];
|
|
|
|
public function warehousearr()
|
|
{
|
|
return $this->hasOne('App\WarehouseArr');
|
|
}
|
|
|
|
public function decisionitem()
|
|
{
|
|
return $this->hasMany('App\DecisionItem');
|
|
}
|
|
}
|
|
|