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