belongsTo('License','license_id'); } public function user() { return $this->belongsTo('User','assigned_to')->withTrashed(); } public function asset() { return $this->belongsTo('Asset','asset_id')->withTrashed(); } }