@Override
 public boolean equals(Object obj) {
   if (this == obj) return true;
   if (obj == null) return false;
   if (getClass() != obj.getClass()) return false;
   ETAVolumeSaida other = (ETAVolumeSaida) obj;
   if (codigo == null) {
     if (other.codigo != null) return false;
   } else if (!codigo.equals(other.codigo)) return false;
   if (etaVolume == null) {
     if (other.etaVolume != null) return false;
   } else if (!etaVolume.equals(other.etaVolume)) 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;
 }
 @Override
 public int hashCode() {
   final int prime = 31;
   int result = 1;
   result = prime * result + ((codigo == null) ? 0 : codigo.hashCode());
   result = prime * result + ((etaVolume == null) ? 0 : etaVolume.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;
 }