belongsTo('App\LatestModel\Module\WorkOrder','work_order_id','wo'); } public function staff() { return $this->belongsTo('App\Model\Staff','installer_id','_id')->withTrashed(); } }