| 24083 |
amit.gupta |
1 |
package com.spice.profitmandi.common.model;
|
|
|
2 |
|
|
|
3 |
import java.util.List;
|
|
|
4 |
|
|
|
5 |
public class PriceDropImeisModel {
|
|
|
6 |
int priceDropId;
|
|
|
7 |
List<String> pendingImeis;
|
|
|
8 |
List<String> approvedImeis;
|
|
|
9 |
List<String> rejectedImeis;
|
| 28568 |
amit.gupta |
10 |
List<String> holdImeis;
|
| 24083 |
amit.gupta |
11 |
String updatedStatus;
|
| 28568 |
amit.gupta |
12 |
|
|
|
13 |
|
|
|
14 |
|
|
|
15 |
public List<String> getHoldImeis() {
|
|
|
16 |
return holdImeis;
|
|
|
17 |
}
|
|
|
18 |
public void setHoldImeis(List<String> holdImeis) {
|
|
|
19 |
this.holdImeis = holdImeis;
|
|
|
20 |
}
|
| 24083 |
amit.gupta |
21 |
public String getUpdatedStatus() {
|
|
|
22 |
return updatedStatus;
|
|
|
23 |
}
|
| 26342 |
amit.gupta |
24 |
private String rejectionReason;
|
| 24083 |
amit.gupta |
25 |
public void setUpdatedStatus(String updatedStatus) {
|
|
|
26 |
this.updatedStatus = updatedStatus;
|
|
|
27 |
}
|
|
|
28 |
List<String> updatedImeis;
|
|
|
29 |
|
|
|
30 |
public List<String> getUpdatedImeis() {
|
|
|
31 |
return updatedImeis;
|
|
|
32 |
}
|
|
|
33 |
public void setUpdatedImeis(List<String> updatedImeis) {
|
|
|
34 |
this.updatedImeis = updatedImeis;
|
|
|
35 |
}
|
|
|
36 |
public int getPriceDropId() {
|
|
|
37 |
return priceDropId;
|
|
|
38 |
}
|
|
|
39 |
public void setPriceDropId(int priceDropId) {
|
|
|
40 |
this.priceDropId = priceDropId;
|
|
|
41 |
}
|
|
|
42 |
public List<String> getPendingImeis() {
|
|
|
43 |
return pendingImeis;
|
|
|
44 |
}
|
|
|
45 |
public void setPendingImeis(List<String> pendingImeis) {
|
|
|
46 |
this.pendingImeis = pendingImeis;
|
|
|
47 |
}
|
|
|
48 |
public List<String> getApprovedImeis() {
|
|
|
49 |
return approvedImeis;
|
|
|
50 |
}
|
|
|
51 |
public void setApprovedImeis(List<String> processedImeis) {
|
|
|
52 |
this.approvedImeis = processedImeis;
|
|
|
53 |
}
|
|
|
54 |
public List<String> getRejectedImeis() {
|
|
|
55 |
return rejectedImeis;
|
|
|
56 |
}
|
|
|
57 |
public void setRejectedImeis(List<String> rejectedImeis) {
|
|
|
58 |
this.rejectedImeis = rejectedImeis;
|
|
|
59 |
}
|
| 26342 |
amit.gupta |
60 |
|
| 24083 |
amit.gupta |
61 |
@Override
|
| 26342 |
amit.gupta |
62 |
public int hashCode() {
|
|
|
63 |
final int prime = 31;
|
|
|
64 |
int result = 1;
|
|
|
65 |
result = prime * result + ((approvedImeis == null) ? 0 : approvedImeis.hashCode());
|
|
|
66 |
result = prime * result + ((pendingImeis == null) ? 0 : pendingImeis.hashCode());
|
|
|
67 |
result = prime * result + priceDropId;
|
|
|
68 |
result = prime * result + ((rejectedImeis == null) ? 0 : rejectedImeis.hashCode());
|
|
|
69 |
result = prime * result + ((rejectionReason == null) ? 0 : rejectionReason.hashCode());
|
|
|
70 |
result = prime * result + ((updatedImeis == null) ? 0 : updatedImeis.hashCode());
|
|
|
71 |
result = prime * result + ((updatedStatus == null) ? 0 : updatedStatus.hashCode());
|
|
|
72 |
return result;
|
|
|
73 |
}
|
|
|
74 |
@Override
|
|
|
75 |
public boolean equals(Object obj) {
|
|
|
76 |
if (this == obj)
|
|
|
77 |
return true;
|
|
|
78 |
if (obj == null)
|
|
|
79 |
return false;
|
|
|
80 |
if (getClass() != obj.getClass())
|
|
|
81 |
return false;
|
|
|
82 |
PriceDropImeisModel other = (PriceDropImeisModel) obj;
|
|
|
83 |
if (approvedImeis == null) {
|
|
|
84 |
if (other.approvedImeis != null)
|
|
|
85 |
return false;
|
|
|
86 |
} else if (!approvedImeis.equals(other.approvedImeis))
|
|
|
87 |
return false;
|
|
|
88 |
if (pendingImeis == null) {
|
|
|
89 |
if (other.pendingImeis != null)
|
|
|
90 |
return false;
|
|
|
91 |
} else if (!pendingImeis.equals(other.pendingImeis))
|
|
|
92 |
return false;
|
|
|
93 |
if (priceDropId != other.priceDropId)
|
|
|
94 |
return false;
|
|
|
95 |
if (rejectedImeis == null) {
|
|
|
96 |
if (other.rejectedImeis != null)
|
|
|
97 |
return false;
|
|
|
98 |
} else if (!rejectedImeis.equals(other.rejectedImeis))
|
|
|
99 |
return false;
|
|
|
100 |
if (rejectionReason == null) {
|
|
|
101 |
if (other.rejectionReason != null)
|
|
|
102 |
return false;
|
|
|
103 |
} else if (!rejectionReason.equals(other.rejectionReason))
|
|
|
104 |
return false;
|
|
|
105 |
if (updatedImeis == null) {
|
|
|
106 |
if (other.updatedImeis != null)
|
|
|
107 |
return false;
|
|
|
108 |
} else if (!updatedImeis.equals(other.updatedImeis))
|
|
|
109 |
return false;
|
|
|
110 |
if (updatedStatus == null) {
|
|
|
111 |
if (other.updatedStatus != null)
|
|
|
112 |
return false;
|
|
|
113 |
} else if (!updatedStatus.equals(other.updatedStatus))
|
|
|
114 |
return false;
|
|
|
115 |
return true;
|
|
|
116 |
}
|
|
|
117 |
@Override
|
| 24083 |
amit.gupta |
118 |
public String toString() {
|
|
|
119 |
return "PriceDropImeisModel [priceDropId=" + priceDropId + ", pendingImeis=" + pendingImeis + ", approvedImeis="
|
|
|
120 |
+ approvedImeis + ", rejectedImeis=" + rejectedImeis + ", updatedStatus=" + updatedStatus
|
| 26342 |
amit.gupta |
121 |
+ ", rejectionReason=" + rejectionReason + ", updatedImeis=" + updatedImeis + "]";
|
| 24083 |
amit.gupta |
122 |
}
|
| 26342 |
amit.gupta |
123 |
public String getRejectionReason() {
|
|
|
124 |
return rejectionReason;
|
|
|
125 |
}
|
|
|
126 |
public void setRejectionReason(String rejectionReason) {
|
|
|
127 |
this.rejectionReason = rejectionReason;
|
|
|
128 |
}
|
| 24083 |
amit.gupta |
129 |
|
|
|
130 |
|
|
|
131 |
|
|
|
132 |
|
|
|
133 |
|
|
|
134 |
}
|