public boolean equals(Object obj) {
   if (this == obj) return true;
   if (obj == null) return false;
   if (getClass() != obj.getClass()) return false;
   EEABVolumeSaida other = (EEABVolumeSaida) obj;
   if (codigo == null) {
     if (other.codigo != null) return false;
   } else if (!codigo.equals(other.codigo)) return false;
   if (eeabVolume == null) {
     if (other.eeabVolume != null) return false;
   } else if (!eeabVolume.equals(other.eeabVolume)) return false;
   if (medidorSaida == null) {
     if (other.medidorSaida != null) return false;
   } else if (!medidorSaida.equals(other.medidorSaida)) return false;
   if (tipomedicao == null) {
     if (other.tipomedicao != null) return false;
   } else if (!tipomedicao.equals(other.tipomedicao)) return false;
   if (valorMedicaoSaida == null) {
     if (other.valorMedicaoSaida != null) return false;
   } else if (!valorMedicaoSaida.equals(other.valorMedicaoSaida)) return false;
   if (valorMedicaoSaidaAux == null) {
     if (other.valorMedicaoSaidaAux != null) return false;
   } else if (!valorMedicaoSaidaAux.equals(other.valorMedicaoSaidaAux)) return false;
   return true;
 }
 public int hashCode() {
   final int prime = 31;
   int result = 1;
   result = prime * result + ((codigo == null) ? 0 : codigo.hashCode());
   result = prime * result + ((eeabVolume == null) ? 0 : eeabVolume.hashCode());
   result = prime * result + ((medidorSaida == null) ? 0 : medidorSaida.hashCode());
   result = prime * result + ((tipomedicao == null) ? 0 : tipomedicao.hashCode());
   result = prime * result + ((valorMedicaoSaida == null) ? 0 : valorMedicaoSaida.hashCode());
   result =
       prime * result + ((valorMedicaoSaidaAux == null) ? 0 : valorMedicaoSaidaAux.hashCode());
   return result;
 }