@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 Prerequisitos)) {
            return false;
        }
        Prerequisitos other = (Prerequisitos) object;
        if ((this.idPreRequisitos == null && other.idPreRequisitos != null) || (this.idPreRequisitos != null && !this.idPreRequisitos.equals(other.idPreRequisitos))) {
            return false;
        }
        return true;
    }