@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((assentos == null) ? 0 : assentos.hashCode());
		result = prime * result
				+ ((horarioChegada == null) ? 0 : horarioChegada.hashCode());
		result = prime * result
				+ ((horarioSaida == null) ? 0 : horarioSaida.hashCode());
		result = prime * result + ((id == null) ? 0 : id.hashCode());
		result = prime * result + ((nome == null) ? 0 : nome.hashCode());
		result = prime * result
				+ ((numeroVoo == null) ? 0 : numeroVoo.hashCode());
		result = prime * result + ((preco == null) ? 0 : preco.hashCode());
		result = prime * result
				+ ((reservas == null) ? 0 : reservas.hashCode());
		return result;
	}