[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;
|
||||
|
||||
if (getNumOrd() != that.getNumOrd()) return false;
|
||||
if (!getGestioneOrd().equals(that.getGestioneOrd())) return false;
|
||||
return dataOrd.equals(that.dataOrd);
|
||||
if (getGestioneOrd() != null ? !getGestioneOrd().equals(that.getGestioneOrd()) : that.getGestioneOrd() != null)
|
||||
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
|
||||
public int hashCode() {
|
||||
int result = getGestioneOrd().hashCode();
|
||||
result = 31 * result + dataOrd.hashCode();
|
||||
int result = getGestioneOrd() != null ? getGestioneOrd().hashCode() : 0;
|
||||
result = 31 * result + (dataOrd != null ? dataOrd.hashCode() : 0);
|
||||
result = 31 * result + (dataCons != null ? dataCons.hashCode() : 0);
|
||||
result = 31 * result + getNumOrd();
|
||||
return result;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user