src/Money/DataMapper/Data/Money/Abstracts/BudgetCategoryAbstract.php
public function setBudgetId($budgetId)
    {
        $budgetId = (int) $budgetId;

        if ($this->budgetId < 0) {
            throw new \UnderflowException('Value of "budgetId" must be greater than 0');
        }


        if ($this->exists() && $this->budgetId !== $budgetId) {
            $this->updated['budgetId'] = true;
        }

        $this->budgetId = $budgetId;

        return $this;
    }
public function setBudgetId($budgetId)
    {
        $budgetId = (int) $budgetId;

        if ($this->budgetId < 0) {
            throw new \UnderflowException('Value of "budgetId" must be greater than 0');
        }


        if ($this->exists() && $this->budgetId !== $budgetId) {
            $this->updated['budgetId'] = true;
        }

        $this->budgetId = $budgetId;

        return $this;
    }
Set value for field "budget_id"

@param  int $budgetId
@return $this
@throws \UnderflowException