@Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof Savings)) {
            return false;
        }
        Savings other = (Savings) object;
        if ((this.accnum == null && other.accnum != null) || (this.accnum != null && !this.accnum.equals(other.accnum))) {
            return false;
        }
        return true;
    }