Rev 29222 | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed
package com.spice.profitmandi.dao.model;import java.time.LocalDate;import java.util.List;import java.util.Objects;public class DispatchNotificationModel {private List<String> invoiceNumber;private Float totalAmount;private int totalQty;private int fofoId;private int providerId;private LocalDate date;private LocalDate shippingDate;@Overridepublic boolean equals(Object o) {if (this == o) return true;if (o == null || getClass() != o.getClass()) return false;DispatchNotificationModel that = (DispatchNotificationModel) o;return totalQty == that.totalQty && fofoId == that.fofoId && providerId == that.providerId && Objects.equals(invoiceNumber, that.invoiceNumber) && Objects.equals(totalAmount, that.totalAmount) && Objects.equals(date, that.date) && Objects.equals(shippingDate, that.shippingDate);}@Overridepublic int hashCode() {return Objects.hash(invoiceNumber, totalAmount, totalQty, fofoId, providerId, date, shippingDate);}public LocalDate getShippingDate() {return shippingDate;}public void setShippingDate(LocalDate shippingDate) {this.shippingDate = shippingDate;}public LocalDate getDate() {return date;}public void setDate(LocalDate date) {this.date = date;}public int getProviderId() {return providerId;}public void setProviderId(int providerId) {this.providerId = providerId;}public int getFofoId() {return fofoId;}public void setFofoId(int fofoId) {this.fofoId = fofoId;}public List<String> getInvoiceNumber() {return invoiceNumber;}public void setInvoiceNumber(List<String> invoiceNumber) {this.invoiceNumber = invoiceNumber;}public Float getTotalAmount() {return totalAmount;}public void setTotalAmount(Float totalAmount) {this.totalAmount = totalAmount;}public int getTotalQty() {return totalQty;}public void setTotalQty(int totalQty) {this.totalQty = totalQty;}@Overridepublic String toString() {return "DispatchNotificationModel [invoiceNumber=" + invoiceNumber + ", totalAmount=" + totalAmount+ ", totalQty=" + totalQty + "]";}}