if (!Objects.equals(this.getItemId(), receiptItem.getItemId())) {
return false;
+ } else if (!Objects.equals(this.getItemNumber(), receiptItem.getItemNumber())) {
+ return false;
} else if (!Objects.equals(this.getItemProduct(), receiptItem.getItemProduct())) {
return false;
} else if (!Objects.equals(this.getItemProductQuantity(), receiptItem.getItemProductQuantity())) {
return false;
} else if (!Objects.equals(this.getItemReceipt(), receiptItem.getItemReceipt())) {
return false;
+ } else if (!Objects.equals(this.getItemCouponNumber(), receiptItem.getItemCouponNumber())) {
+ return false;
}
return true;
int hash = 5;
hash = 53 * hash + Objects.hashCode(this.getItemId());
+ hash = 53 * hash + Objects.hashCode(this.getItemNumber());
hash = 53 * hash + Objects.hashCode(this.getItemProduct());
hash = 53 * hash + Objects.hashCode(this.getItemProductQuantity());
hash = 53 * hash + Objects.hashCode(this.getItemReceipt());
+ hash = 53 * hash + Objects.hashCode(this.getItemCouponNumber());
return hash;
}