belongsTo(PurchaseRequest::class); } public function otherCost() { return $this->belongsTo(OtherCost::class, 'other_cost_id', 'id'); } public function purchaseRequestOtherCostManualDetails() { return $this->hasMany(PurchaseRequestOtherCostManualDetail::class); } }