Subversion Repositories SmartDukaan

Rev

Rev 29222 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 29222 Rev 32884
Line 1... Line 1...
1
package com.spice.profitmandi.dao.model;
1
package com.spice.profitmandi.dao.model;
2
 
2
 
3
import java.time.LocalDate;
3
import java.time.LocalDate;
4
import java.util.List;
4
import java.util.List;
-
 
5
import java.util.Objects;
5
 
6
 
6
public class DispatchNotificationModel {
7
public class DispatchNotificationModel {
7
 
8
 
8
	private List<String> invoiceNumber;
9
	private List<String> invoiceNumber;
9
	private Float totalAmount;
10
	private Float totalAmount;
10
	private int totalQty;
11
	private int totalQty;
11
	private int fofoId;
12
	private int fofoId;
12
	private int providerId;
13
	private int providerId;
13
	private LocalDate date;
14
	private LocalDate date;
-
 
15
	private LocalDate shippingDate;
-
 
16
 
-
 
17
 
-
 
18
	@Override
-
 
19
	public boolean equals(Object o) {
-
 
20
		if (this == o) return true;
-
 
21
		if (o == null || getClass() != o.getClass()) return false;
-
 
22
		DispatchNotificationModel that = (DispatchNotificationModel) o;
-
 
23
		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);
-
 
24
	}
-
 
25
 
-
 
26
	@Override
-
 
27
	public int hashCode() {
-
 
28
		return Objects.hash(invoiceNumber, totalAmount, totalQty, fofoId, providerId, date, shippingDate);
-
 
29
	}
-
 
30
 
-
 
31
	public LocalDate getShippingDate() {
-
 
32
		return shippingDate;
-
 
33
	}
-
 
34
 
-
 
35
	public void setShippingDate(LocalDate shippingDate) {
-
 
36
		this.shippingDate = shippingDate;
-
 
37
	}
14
 
38
 
15
	public LocalDate getDate() {
39
	public LocalDate getDate() {
16
		return date;
40
		return date;
17
	}
41
	}
18
 
42