| 35501 |
ranu |
1 |
package com.spice.profitmandi.dao.model;
|
|
|
2 |
|
|
|
3 |
import com.spice.profitmandi.dao.entity.fofo.PartnerType;
|
|
|
4 |
|
|
|
5 |
import java.util.List;
|
|
|
6 |
import java.util.Objects;
|
|
|
7 |
|
|
|
8 |
public class PartnerCriteriaPojo {
|
|
|
9 |
private List<Integer> fofoIds;
|
|
|
10 |
private List<Integer> excludeFofoIds;
|
|
|
11 |
private List<Integer> regionIds;
|
|
|
12 |
private List<PartnerType> partnerTypes;
|
|
|
13 |
|
|
|
14 |
public List<Integer> getFofoIds() {
|
|
|
15 |
return fofoIds;
|
|
|
16 |
}
|
|
|
17 |
|
|
|
18 |
public void setFofoIds(List<Integer> fofoIds) {
|
|
|
19 |
this.fofoIds = fofoIds;
|
|
|
20 |
}
|
|
|
21 |
|
|
|
22 |
public List<Integer> getExcludeFofoIds() {
|
|
|
23 |
return excludeFofoIds;
|
|
|
24 |
}
|
|
|
25 |
|
|
|
26 |
public void setExcludeFofoIds(List<Integer> excludeFofoIds) {
|
|
|
27 |
this.excludeFofoIds = excludeFofoIds;
|
|
|
28 |
}
|
|
|
29 |
|
|
|
30 |
public List<Integer> getRegionIds() {
|
|
|
31 |
return regionIds;
|
|
|
32 |
}
|
|
|
33 |
|
|
|
34 |
public void setRegionIds(List<Integer> regionIds) {
|
|
|
35 |
this.regionIds = regionIds;
|
|
|
36 |
}
|
|
|
37 |
|
|
|
38 |
public List<PartnerType> getPartnerTypes() {
|
|
|
39 |
return partnerTypes;
|
|
|
40 |
}
|
|
|
41 |
|
|
|
42 |
public void setPartnerTypes(List<PartnerType> partnerTypes) {
|
|
|
43 |
this.partnerTypes = partnerTypes;
|
|
|
44 |
}
|
|
|
45 |
|
|
|
46 |
@Override
|
|
|
47 |
public String toString() {
|
|
|
48 |
return "PartnerCriteriaPojo{" +
|
|
|
49 |
"fofoIds=" + fofoIds +
|
|
|
50 |
", excludeFofoIds=" + excludeFofoIds +
|
|
|
51 |
", regionIds=" + regionIds +
|
|
|
52 |
", partnerTypes=" + partnerTypes +
|
|
|
53 |
'}';
|
|
|
54 |
}
|
|
|
55 |
|
|
|
56 |
@Override
|
|
|
57 |
public boolean equals(Object o) {
|
|
|
58 |
if (this == o) return true;
|
|
|
59 |
if (o == null || getClass() != o.getClass()) return false;
|
|
|
60 |
PartnerCriteriaPojo that = (PartnerCriteriaPojo) o;
|
|
|
61 |
return Objects.equals(fofoIds, that.fofoIds) && Objects.equals(excludeFofoIds, that.excludeFofoIds) && Objects.equals(regionIds, that.regionIds) && Objects.equals(partnerTypes, that.partnerTypes);
|
|
|
62 |
}
|
|
|
63 |
|
|
|
64 |
@Override
|
|
|
65 |
public int hashCode() {
|
|
|
66 |
return Objects.hash(fofoIds, excludeFofoIds, regionIds, partnerTypes);
|
|
|
67 |
}
|
|
|
68 |
}
|