| Line 29... |
Line 29... |
| 29 |
private String pan;
|
29 |
private String pan;
|
| 30 |
private FofoType fofoType;
|
30 |
private FofoType fofoType;
|
| 31 |
private ActivationType activationType;
|
31 |
private ActivationType activationType;
|
| 32 |
|
32 |
|
| 33 |
private float counterPotential;
|
33 |
private float counterPotential;
|
| - |
|
34 |
private String firstName;
|
| - |
|
35 |
private String lastName;
|
| - |
|
36 |
|
| - |
|
37 |
|
| - |
|
38 |
|
| - |
|
39 |
public String getFirstName() {
|
| - |
|
40 |
return firstName;
|
| - |
|
41 |
}
|
| - |
|
42 |
|
| - |
|
43 |
public void setFirstName(String firstName) {
|
| - |
|
44 |
this.firstName = firstName;
|
| - |
|
45 |
}
|
| - |
|
46 |
|
| - |
|
47 |
public String getLastName() {
|
| - |
|
48 |
return lastName;
|
| - |
|
49 |
}
|
| - |
|
50 |
|
| - |
|
51 |
public void setLastName(String lastName) {
|
| - |
|
52 |
this.lastName = lastName;
|
| - |
|
53 |
}
|
| 34 |
|
54 |
|
| 35 |
@Override
|
55 |
@Override
|
| 36 |
public String toString() {
|
56 |
public String toString() {
|
| 37 |
return "CustomRetailer [partnerId=" + partnerId + ", code=" + code + ", cartId=" + cartId + ", businessName=" + businessName + ", address=" + address + ", mobileNumber=" + mobileNumber + ", gstNumber=" + gstNumber + ", email=" + email + ", displayName=" + displayName + ", warehouseId=" + warehouseId + ", pan=" + pan + ", fofoType=" + fofoType + ", activationType=" + activationType + ", counterPotential=" + counterPotential + ", counterSize=" + counterSize + "]";
|
57 |
return "CustomRetailer [partnerId=" + partnerId + ", code=" + code + ", cartId=" + cartId + ", businessName=" + businessName + ", address=" + address + ", mobileNumber=" + mobileNumber + ", gstNumber=" + gstNumber + ", email=" + email + ", displayName=" + displayName + ", warehouseId=" + warehouseId + ", pan=" + pan + ", fofoType=" + fofoType + ", activationType=" + activationType + ", counterPotential=" + counterPotential + ", firstName=" + firstName + ", lastName=" + lastName + ", counterSize=" + counterSize + "]";
|
| 38 |
}
|
58 |
}
|
| 39 |
|
59 |
|
| 40 |
@Override
|
60 |
@Override
|
| 41 |
public boolean equals(Object obj) {
|
61 |
public boolean equals(Object obj) {
|
| 42 |
if (this == obj) return true;
|
62 |
if (this == obj) return true;
|
| Line 60... |
Line 80... |
| 60 |
if (other.displayName != null) return false;
|
80 |
if (other.displayName != null) return false;
|
| 61 |
} else if (!displayName.equals(other.displayName)) return false;
|
81 |
} else if (!displayName.equals(other.displayName)) return false;
|
| 62 |
if (email == null) {
|
82 |
if (email == null) {
|
| 63 |
if (other.email != null) return false;
|
83 |
if (other.email != null) return false;
|
| 64 |
} else if (!email.equals(other.email)) return false;
|
84 |
} else if (!email.equals(other.email)) return false;
|
| - |
|
85 |
if (firstName == null) {
|
| - |
|
86 |
if (other.firstName != null) return false;
|
| - |
|
87 |
} else if (!firstName.equals(other.firstName)) return false;
|
| 65 |
if (fofoType != other.fofoType) return false;
|
88 |
if (fofoType != other.fofoType) return false;
|
| 66 |
if (gstNumber == null) {
|
89 |
if (gstNumber == null) {
|
| 67 |
if (other.gstNumber != null) return false;
|
90 |
if (other.gstNumber != null) return false;
|
| 68 |
} else if (!gstNumber.equals(other.gstNumber)) return false;
|
91 |
} else if (!gstNumber.equals(other.gstNumber)) return false;
|
| - |
|
92 |
if (lastName == null) {
|
| - |
|
93 |
if (other.lastName != null) return false;
|
| - |
|
94 |
} else if (!lastName.equals(other.lastName)) return false;
|
| 69 |
if (mobileNumber == null) {
|
95 |
if (mobileNumber == null) {
|
| 70 |
if (other.mobileNumber != null) return false;
|
96 |
if (other.mobileNumber != null) return false;
|
| 71 |
} else if (!mobileNumber.equals(other.mobileNumber)) return false;
|
97 |
} else if (!mobileNumber.equals(other.mobileNumber)) return false;
|
| 72 |
if (pan == null) {
|
98 |
if (pan == null) {
|
| 73 |
if (other.pan != null) return false;
|
99 |
if (other.pan != null) return false;
|
| Line 88... |
Line 114... |
| 88 |
result = prime * result + ((code == null) ? 0 : code.hashCode());
|
114 |
result = prime * result + ((code == null) ? 0 : code.hashCode());
|
| 89 |
result = prime * result + Float.floatToIntBits(counterPotential);
|
115 |
result = prime * result + Float.floatToIntBits(counterPotential);
|
| 90 |
result = prime * result + ((counterSize == null) ? 0 : counterSize.hashCode());
|
116 |
result = prime * result + ((counterSize == null) ? 0 : counterSize.hashCode());
|
| 91 |
result = prime * result + ((displayName == null) ? 0 : displayName.hashCode());
|
117 |
result = prime * result + ((displayName == null) ? 0 : displayName.hashCode());
|
| 92 |
result = prime * result + ((email == null) ? 0 : email.hashCode());
|
118 |
result = prime * result + ((email == null) ? 0 : email.hashCode());
|
| - |
|
119 |
result = prime * result + ((firstName == null) ? 0 : firstName.hashCode());
|
| 93 |
result = prime * result + ((fofoType == null) ? 0 : fofoType.hashCode());
|
120 |
result = prime * result + ((fofoType == null) ? 0 : fofoType.hashCode());
|
| 94 |
result = prime * result + ((gstNumber == null) ? 0 : gstNumber.hashCode());
|
121 |
result = prime * result + ((gstNumber == null) ? 0 : gstNumber.hashCode());
|
| - |
|
122 |
result = prime * result + ((lastName == null) ? 0 : lastName.hashCode());
|
| 95 |
result = prime * result + ((mobileNumber == null) ? 0 : mobileNumber.hashCode());
|
123 |
result = prime * result + ((mobileNumber == null) ? 0 : mobileNumber.hashCode());
|
| 96 |
result = prime * result + ((pan == null) ? 0 : pan.hashCode());
|
124 |
result = prime * result + ((pan == null) ? 0 : pan.hashCode());
|
| 97 |
result = prime * result + partnerId;
|
125 |
result = prime * result + partnerId;
|
| 98 |
result = prime * result + warehouseId;
|
126 |
result = prime * result + warehouseId;
|
| 99 |
return result;
|
127 |
return result;
|