[BUG] Rigenerato metodo equals e hashCode della classe FiltroOrdini
This commit is contained in:
parent
43ff3b1856
commit
1eddd1aed2
@ -83,14 +83,17 @@ public class FiltroOrdineDTO {
|
|||||||
FiltroOrdineDTO that = (FiltroOrdineDTO) o;
|
FiltroOrdineDTO that = (FiltroOrdineDTO) o;
|
||||||
|
|
||||||
if (getNumOrd() != that.getNumOrd()) return false;
|
if (getNumOrd() != that.getNumOrd()) return false;
|
||||||
if (!getGestioneOrd().equals(that.getGestioneOrd())) return false;
|
if (getGestioneOrd() != null ? !getGestioneOrd().equals(that.getGestioneOrd()) : that.getGestioneOrd() != null)
|
||||||
return dataOrd.equals(that.dataOrd);
|
return false;
|
||||||
|
if (dataOrd != null ? !dataOrd.equals(that.dataOrd) : that.dataOrd != null) return false;
|
||||||
|
return dataCons != null ? dataCons.equals(that.dataCons) : that.dataCons == null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
int result = getGestioneOrd().hashCode();
|
int result = getGestioneOrd() != null ? getGestioneOrd().hashCode() : 0;
|
||||||
result = 31 * result + dataOrd.hashCode();
|
result = 31 * result + (dataOrd != null ? dataOrd.hashCode() : 0);
|
||||||
|
result = 31 * result + (dataCons != null ? dataCons.hashCode() : 0);
|
||||||
result = 31 * result + getNumOrd();
|
result = 31 * result + getNumOrd();
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user