| 30003 |
tejbeer |
1 |
package com.spice.profitmandi.dao.model;
|
|
|
2 |
|
|
|
3 |
public class FofoReportingModel {
|
|
|
4 |
|
|
|
5 |
private String code;
|
|
|
6 |
private int fofoId;
|
|
|
7 |
private String businessName;
|
|
|
8 |
private String territoryManager;
|
| 37351 |
ranu |
9 |
private String salesL2Manager;
|
| 30003 |
tejbeer |
10 |
private String regionalManager;
|
|
|
11 |
|
|
|
12 |
@Override
|
|
|
13 |
public String toString() {
|
|
|
14 |
return "FofoReportingModel [code=" + code + ", fofoId=" + fofoId + ", businessName=" + businessName
|
| 37351 |
ranu |
15 |
+ ", territoryManager=" + territoryManager + ", salesL2Manager=" + salesL2Manager + ", regionalManager=" + regionalManager + "]";
|
| 30003 |
tejbeer |
16 |
}
|
|
|
17 |
|
|
|
18 |
public String getCode() {
|
|
|
19 |
return code;
|
|
|
20 |
}
|
|
|
21 |
|
|
|
22 |
public void setCode(String code) {
|
|
|
23 |
this.code = code;
|
|
|
24 |
}
|
|
|
25 |
|
|
|
26 |
public String getBusinessName() {
|
|
|
27 |
return businessName;
|
|
|
28 |
}
|
|
|
29 |
|
|
|
30 |
public void setBusinessName(String businessName) {
|
|
|
31 |
this.businessName = businessName;
|
|
|
32 |
}
|
|
|
33 |
|
|
|
34 |
public String getTerritoryManager() {
|
|
|
35 |
return territoryManager;
|
|
|
36 |
}
|
|
|
37 |
|
|
|
38 |
public void setTerritoryManager(String territoryManager) {
|
|
|
39 |
this.territoryManager = territoryManager;
|
|
|
40 |
}
|
|
|
41 |
|
|
|
42 |
public String getRegionalManager() {
|
|
|
43 |
return regionalManager;
|
|
|
44 |
}
|
|
|
45 |
|
|
|
46 |
public void setRegionalManager(String regionalManager) {
|
|
|
47 |
this.regionalManager = regionalManager;
|
|
|
48 |
}
|
|
|
49 |
|
| 37351 |
ranu |
50 |
public String getSalesL2Manager() {
|
|
|
51 |
return salesL2Manager;
|
|
|
52 |
}
|
|
|
53 |
|
|
|
54 |
public void setSalesL2Manager(String salesL2Manager) {
|
|
|
55 |
this.salesL2Manager = salesL2Manager;
|
|
|
56 |
}
|
|
|
57 |
|
| 30003 |
tejbeer |
58 |
@Override
|
|
|
59 |
public int hashCode() {
|
|
|
60 |
final int prime = 31;
|
|
|
61 |
int result = 1;
|
|
|
62 |
result = prime * result + ((businessName == null) ? 0 : businessName.hashCode());
|
|
|
63 |
result = prime * result + ((code == null) ? 0 : code.hashCode());
|
|
|
64 |
result = prime * result + fofoId;
|
|
|
65 |
result = prime * result + ((regionalManager == null) ? 0 : regionalManager.hashCode());
|
|
|
66 |
result = prime * result + ((territoryManager == null) ? 0 : territoryManager.hashCode());
|
| 37351 |
ranu |
67 |
result = prime * result + ((salesL2Manager == null) ? 0 : salesL2Manager.hashCode());
|
| 30003 |
tejbeer |
68 |
return result;
|
|
|
69 |
}
|
|
|
70 |
|
|
|
71 |
@Override
|
|
|
72 |
public boolean equals(Object obj) {
|
|
|
73 |
if (this == obj)
|
|
|
74 |
return true;
|
|
|
75 |
if (obj == null)
|
|
|
76 |
return false;
|
|
|
77 |
if (getClass() != obj.getClass())
|
|
|
78 |
return false;
|
|
|
79 |
FofoReportingModel other = (FofoReportingModel) obj;
|
|
|
80 |
if (businessName == null) {
|
|
|
81 |
if (other.businessName != null)
|
|
|
82 |
return false;
|
|
|
83 |
} else if (!businessName.equals(other.businessName))
|
|
|
84 |
return false;
|
|
|
85 |
if (code == null) {
|
|
|
86 |
if (other.code != null)
|
|
|
87 |
return false;
|
|
|
88 |
} else if (!code.equals(other.code))
|
|
|
89 |
return false;
|
|
|
90 |
if (fofoId != other.fofoId)
|
|
|
91 |
return false;
|
|
|
92 |
if (regionalManager == null) {
|
|
|
93 |
if (other.regionalManager != null)
|
|
|
94 |
return false;
|
|
|
95 |
} else if (!regionalManager.equals(other.regionalManager))
|
|
|
96 |
return false;
|
|
|
97 |
if (territoryManager == null) {
|
|
|
98 |
if (other.territoryManager != null)
|
|
|
99 |
return false;
|
|
|
100 |
} else if (!territoryManager.equals(other.territoryManager))
|
|
|
101 |
return false;
|
| 37351 |
ranu |
102 |
if (salesL2Manager == null) {
|
|
|
103 |
if (other.salesL2Manager != null)
|
|
|
104 |
return false;
|
|
|
105 |
} else if (!salesL2Manager.equals(other.salesL2Manager))
|
|
|
106 |
return false;
|
| 30003 |
tejbeer |
107 |
return true;
|
|
|
108 |
}
|
|
|
109 |
|
|
|
110 |
public int getFofoId() {
|
|
|
111 |
return fofoId;
|
|
|
112 |
}
|
|
|
113 |
|
|
|
114 |
public void setFofoId(int fofoId) {
|
|
|
115 |
this.fofoId = fofoId;
|
|
|
116 |
}
|
|
|
117 |
|
|
|
118 |
}
|