| Line 5... |
Line 5... |
| 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;
|
9 |
String partnerMobile;
|
| 10 |
String code;
|
10 |
String state;
|
| 11 |
int orderId;
|
11 |
int orderId;
|
| 12 |
String customerNumber;
|
12 |
String customerNumber;
|
| 13 |
String callingDate;
|
13 |
String callingDate;
|
| 14 |
String disposition;
|
14 |
String disposition;
|
| 15 |
String remark;
|
15 |
String remark;
|
| Line 17... |
Line 17... |
| 17 |
String insuranceStatus;
|
17 |
String insuranceStatus;
|
| 18 |
float policySoldAmount;
|
18 |
float policySoldAmount;
|
| 19 |
String invoiceNumber;
|
19 |
String invoiceNumber;
|
| 20 |
String serialNumber;
|
20 |
String serialNumber;
|
| 21 |
|
21 |
|
| 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) {
|
22 |
public UpsellingReportModel(int agentId, String agentEmail, String partnerName, String partnerMobile, String state, int orderId, String customerNumber, String callingDate, String disposition, String remark, String paymentStatus, String insuranceStatus, float policySoldAmount, String invoiceNumber, String serialNumber) {
|
| 23 |
this.agentId = agentId;
|
23 |
this.agentId = agentId;
|
| 24 |
this.agentEmail = agentEmail;
|
24 |
this.agentEmail = agentEmail;
|
| 25 |
this.partnerName = partnerName;
|
25 |
this.partnerName = partnerName;
|
| 26 |
this.partnerMobile = partnerMobile;
|
26 |
this.partnerMobile = partnerMobile;
|
| 27 |
this.code = code;
|
27 |
this.state = state;
|
| 28 |
this.orderId = orderId;
|
28 |
this.orderId = orderId;
|
| 29 |
this.customerNumber = customerNumber;
|
29 |
this.customerNumber = customerNumber;
|
| 30 |
this.callingDate = callingDate;
|
30 |
this.callingDate = callingDate;
|
| 31 |
this.disposition = disposition;
|
31 |
this.disposition = disposition;
|
| 32 |
this.remark = remark;
|
32 |
this.remark = remark;
|
| Line 67... |
Line 67... |
| 67 |
|
67 |
|
| 68 |
public void setPartnerMobile(String partnerMobile) {
|
68 |
public void setPartnerMobile(String partnerMobile) {
|
| 69 |
this.partnerMobile = partnerMobile;
|
69 |
this.partnerMobile = partnerMobile;
|
| 70 |
}
|
70 |
}
|
| 71 |
|
71 |
|
| 72 |
public String getCode() {
|
72 |
public String getState() {
|
| 73 |
return code;
|
73 |
return state;
|
| 74 |
}
|
74 |
}
|
| 75 |
|
75 |
|
| 76 |
public void setCode(String code) {
|
76 |
public void setState(String state) {
|
| 77 |
this.code = code;
|
77 |
this.state = state;
|
| 78 |
}
|
78 |
}
|
| 79 |
|
79 |
|
| 80 |
public int getOrderId() {
|
80 |
public int getOrderId() {
|
| 81 |
return orderId;
|
81 |
return orderId;
|
| 82 |
}
|
82 |
}
|
| Line 162... |
Line 162... |
| 162 |
return "UpsellingReportModel{" +
|
162 |
return "UpsellingReportModel{" +
|
| 163 |
"agentId=" + agentId +
|
163 |
"agentId=" + agentId +
|
| 164 |
", agentEmail='" + agentEmail + '\'' +
|
164 |
", agentEmail='" + agentEmail + '\'' +
|
| 165 |
", partnerName='" + partnerName + '\'' +
|
165 |
", partnerName='" + partnerName + '\'' +
|
| 166 |
", partnerMobile='" + partnerMobile + '\'' +
|
166 |
", partnerMobile='" + partnerMobile + '\'' +
|
| 167 |
", code='" + code + '\'' +
|
167 |
", state='" + state + '\'' +
|
| 168 |
", orderId=" + orderId +
|
168 |
", orderId=" + orderId +
|
| 169 |
", customerNumber='" + customerNumber + '\'' +
|
169 |
", customerNumber='" + customerNumber + '\'' +
|
| 170 |
", callingDate='" + callingDate + '\'' +
|
170 |
", callingDate='" + callingDate + '\'' +
|
| 171 |
", disposition='" + disposition + '\'' +
|
171 |
", disposition='" + disposition + '\'' +
|
| 172 |
", remark='" + remark + '\'' +
|
172 |
", remark='" + remark + '\'' +
|
| Line 181... |
Line 181... |
| 181 |
@Override
|
181 |
@Override
|
| 182 |
public boolean equals(Object o) {
|
182 |
public boolean equals(Object o) {
|
| 183 |
if (this == o) return true;
|
183 |
if (this == o) return true;
|
| 184 |
if (o == null || getClass() != o.getClass()) return false;
|
184 |
if (o == null || getClass() != o.getClass()) return false;
|
| 185 |
UpsellingReportModel that = (UpsellingReportModel) o;
|
185 |
UpsellingReportModel that = (UpsellingReportModel) o;
|
| 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);
|
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(state, that.state) && 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);
|
| 187 |
}
|
187 |
}
|
| 188 |
|
188 |
|
| 189 |
@Override
|
189 |
@Override
|
| 190 |
public int hashCode() {
|
190 |
public int hashCode() {
|
| 191 |
return Objects.hash(agentId, agentEmail, partnerName, partnerMobile, code, orderId, customerNumber, callingDate, disposition, remark, paymentStatus, insuranceStatus, policySoldAmount, invoiceNumber, serialNumber);
|
191 |
return Objects.hash(agentId, agentEmail, partnerName, partnerMobile, state, orderId, customerNumber, callingDate, disposition, remark, paymentStatus, insuranceStatus, policySoldAmount, invoiceNumber, serialNumber);
|
| 192 |
}
|
192 |
}
|
| 193 |
}
|
193 |
}
|