| Line 4... |
Line 4... |
| 4 |
|
4 |
|
| 5 |
public class UpsellingReportModel {
|
5 |
public class UpsellingReportModel {
|
| 6 |
int agentId;
|
6 |
int agentId;
|
| 7 |
String agentEmail;
|
7 |
String agentEmail;
|
| 8 |
String partnerName;
|
8 |
String partnerName;
|
| - |
|
9 |
String partnerMobile;
|
| - |
|
10 |
String code;
|
| 9 |
int orderId;
|
11 |
int orderId;
|
| 10 |
String customerNumber;
|
12 |
String customerNumber;
|
| 11 |
String callingDate;
|
13 |
String callingDate;
|
| 12 |
String disposition;
|
14 |
String disposition;
|
| 13 |
String remark;
|
15 |
String remark;
|
| Line 15... |
Line 17... |
| 15 |
String insuranceStatus;
|
17 |
String insuranceStatus;
|
| 16 |
float policySoldAmount;
|
18 |
float policySoldAmount;
|
| 17 |
String invoiceNumber;
|
19 |
String invoiceNumber;
|
| 18 |
String serialNumber;
|
20 |
String serialNumber;
|
| 19 |
|
21 |
|
| 20 |
public UpsellingReportModel(int agentId, String agentEmail, String partnerName, int orderId, String customerNumber, String callingDate, String disposition, String remark, String paymentStatus, String insuranceStatus, float policySoldAmount, String invoiceNumber, String serialNumber) {
|
22 |
public UpsellingReportModel(int agentId, String agentEmail, String partnerName, String partnerMobile, String code, int orderId, String customerNumber, String callingDate, String disposition, String remark, String paymentStatus, String insuranceStatus, float policySoldAmount, String invoiceNumber, String serialNumber) {
|
| 21 |
this.agentId = agentId;
|
23 |
this.agentId = agentId;
|
| 22 |
this.agentEmail = agentEmail;
|
24 |
this.agentEmail = agentEmail;
|
| 23 |
this.partnerName = partnerName;
|
25 |
this.partnerName = partnerName;
|
| - |
|
26 |
this.partnerMobile = partnerMobile;
|
| - |
|
27 |
this.code = code;
|
| 24 |
this.orderId = orderId;
|
28 |
this.orderId = orderId;
|
| 25 |
this.customerNumber = customerNumber;
|
29 |
this.customerNumber = customerNumber;
|
| 26 |
this.callingDate = callingDate;
|
30 |
this.callingDate = callingDate;
|
| 27 |
this.disposition = disposition;
|
31 |
this.disposition = disposition;
|
| 28 |
this.remark = remark;
|
32 |
this.remark = remark;
|
| Line 55... |
Line 59... |
| 55 |
|
59 |
|
| 56 |
public void setPartnerName(String partnerName) {
|
60 |
public void setPartnerName(String partnerName) {
|
| 57 |
this.partnerName = partnerName;
|
61 |
this.partnerName = partnerName;
|
| 58 |
}
|
62 |
}
|
| 59 |
|
63 |
|
| - |
|
64 |
public String getPartnerMobile() {
|
| - |
|
65 |
return partnerMobile;
|
| - |
|
66 |
}
|
| - |
|
67 |
|
| - |
|
68 |
public void setPartnerMobile(String partnerMobile) {
|
| - |
|
69 |
this.partnerMobile = partnerMobile;
|
| - |
|
70 |
}
|
| - |
|
71 |
|
| - |
|
72 |
public String getCode() {
|
| - |
|
73 |
return code;
|
| - |
|
74 |
}
|
| - |
|
75 |
|
| - |
|
76 |
public void setCode(String code) {
|
| - |
|
77 |
this.code = code;
|
| - |
|
78 |
}
|
| - |
|
79 |
|
| 60 |
public int getOrderId() {
|
80 |
public int getOrderId() {
|
| 61 |
return orderId;
|
81 |
return orderId;
|
| 62 |
}
|
82 |
}
|
| 63 |
|
83 |
|
| 64 |
public void setOrderId(int orderId) {
|
84 |
public void setOrderId(int orderId) {
|
| Line 141... |
Line 161... |
| 141 |
public String toString() {
|
161 |
public String toString() {
|
| 142 |
return "UpsellingReportModel{" +
|
162 |
return "UpsellingReportModel{" +
|
| 143 |
"agentId=" + agentId +
|
163 |
"agentId=" + agentId +
|
| 144 |
", agentEmail='" + agentEmail + '\'' +
|
164 |
", agentEmail='" + agentEmail + '\'' +
|
| 145 |
", partnerName='" + partnerName + '\'' +
|
165 |
", partnerName='" + partnerName + '\'' +
|
| - |
|
166 |
", partnerMobile='" + partnerMobile + '\'' +
|
| - |
|
167 |
", code='" + code + '\'' +
|
| 146 |
", orderId=" + orderId +
|
168 |
", orderId=" + orderId +
|
| 147 |
", customerNumber='" + customerNumber + '\'' +
|
169 |
", customerNumber='" + customerNumber + '\'' +
|
| 148 |
", callingDate='" + callingDate + '\'' +
|
170 |
", callingDate='" + callingDate + '\'' +
|
| 149 |
", disposition='" + disposition + '\'' +
|
171 |
", disposition='" + disposition + '\'' +
|
| 150 |
", remark='" + remark + '\'' +
|
172 |
", remark='" + remark + '\'' +
|
| Line 159... |
Line 181... |
| 159 |
@Override
|
181 |
@Override
|
| 160 |
public boolean equals(Object o) {
|
182 |
public boolean equals(Object o) {
|
| 161 |
if (this == o) return true;
|
183 |
if (this == o) return true;
|
| 162 |
if (o == null || getClass() != o.getClass()) return false;
|
184 |
if (o == null || getClass() != o.getClass()) return false;
|
| 163 |
UpsellingReportModel that = (UpsellingReportModel) o;
|
185 |
UpsellingReportModel that = (UpsellingReportModel) o;
|
| 164 |
return agentId == that.agentId && orderId == that.orderId && Float.compare(policySoldAmount, that.policySoldAmount) == 0 && Objects.equals(agentEmail, that.agentEmail) && Objects.equals(partnerName, that.partnerName) && Objects.equals(customerNumber, that.customerNumber) && Objects.equals(callingDate, that.callingDate) && Objects.equals(disposition, that.disposition) && Objects.equals(remark, that.remark) && Objects.equals(paymentStatus, that.paymentStatus) && Objects.equals(insuranceStatus, that.insuranceStatus) && Objects.equals(invoiceNumber, that.invoiceNumber) && Objects.equals(serialNumber, that.serialNumber);
|
186 |
return agentId == that.agentId && orderId == that.orderId && Float.compare(policySoldAmount, that.policySoldAmount) == 0 && Objects.equals(agentEmail, that.agentEmail) && Objects.equals(partnerName, that.partnerName) && Objects.equals(partnerMobile, that.partnerMobile) && Objects.equals(code, that.code) && Objects.equals(customerNumber, that.customerNumber) && Objects.equals(callingDate, that.callingDate) && Objects.equals(disposition, that.disposition) && Objects.equals(remark, that.remark) && Objects.equals(paymentStatus, that.paymentStatus) && Objects.equals(insuranceStatus, that.insuranceStatus) && Objects.equals(invoiceNumber, that.invoiceNumber) && Objects.equals(serialNumber, that.serialNumber);
|
| 165 |
}
|
187 |
}
|
| 166 |
|
188 |
|
| 167 |
@Override
|
189 |
@Override
|
| 168 |
public int hashCode() {
|
190 |
public int hashCode() {
|
| 169 |
return Objects.hash(agentId, agentEmail, partnerName, orderId, customerNumber, callingDate, disposition, remark, paymentStatus, insuranceStatus, policySoldAmount, invoiceNumber, serialNumber);
|
191 |
return Objects.hash(agentId, agentEmail, partnerName, partnerMobile, code, orderId, customerNumber, callingDate, disposition, remark, paymentStatus, insuranceStatus, policySoldAmount, invoiceNumber, serialNumber);
|
| 170 |
}
|
192 |
}
|
| 171 |
}
|
193 |
}
|