@Override public synchronized int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((destinoCaronaSolicitacao == null) ? 0 : destinoCaronaSolicitacao.hashCode()); result = prime * result + ((donoDaCaronaSolicitacao == null) ? 0 : donoDaCaronaSolicitacao.hashCode()); result = prime * result + ((donoDaSolicitacao == null) ? 0 : donoDaSolicitacao.hashCode()); result = prime * result + ((estado == null) ? 0 : estado.hashCode()); result = prime * result + ((idCarona == null) ? 0 : idCarona.hashCode()); result = prime * result + ((idSolicitacao == null) ? 0 : idSolicitacao.hashCode()); result = prime * result + ((origemCaronaSolicitacao == null) ? 0 : origemCaronaSolicitacao.hashCode()); result = prime * result + ((sugestaoDePontoEncontro == null) ? 0 : sugestaoDePontoEncontro.hashCode()); result = prime * result + ((tipoSolicitacao == null) ? 0 : tipoSolicitacao.hashCode()); return result; }