Code example for BigDecimal

Methods: hashCode

0
    } 
 
    @Override 
    public int hashCode() { 
        int result = idExpinc;
        result = 31 * result + (expenses != null ? expenses.hashCode() : 0);
        result = 31 * result + (income != null ? income.hashCode() : 0);
        result = 31 * result + (description != null ? description.hashCode() : 0);
        return result;
    } 
 
    private DailyBudget dailyBudgetByIdDaybudget;
 
    @ManyToOne(targetEntity = DailyBudget.class) 
    @JoinColumn(name = "ID_DAYBUDGET", referencedColumnName = "ID_DAYBUDGET", nullable = false) 
    @NotFound(action = NotFoundAction.IGNORE) 
    public DailyBudget getDailyBudgetByIdDaybudget() { 
        return dailyBudgetByIdDaybudget;
    } 
 
    public void setDailyBudgetByIdDaybudget(DailyBudget dailyBudgetByIdDaybudget) {