belongsTo('App\Models\Order','order_id','id')->withTrashed(); } public function goods() { return $this->hasOne('App\Models\Goods','id','goods_id')->withTrashed(); } public function orderbreakup() { return $this->belongsTo('App\Models\OrderBreakup','breakup_id','id'); } }