Subversion Repositories SmartDukaan

Rev

Rev 34117 | Rev 34133 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 34117 Rev 34129
Line 7... Line 7...
7
    String agentEmail;
7
    String agentEmail;
8
    String partnerName;
8
    String partnerName;
9
    int orderId;
9
    int orderId;
10
    String customerNumber;
10
    String customerNumber;
11
    String callingDate;
11
    String callingDate;
-
 
12
    String disposition;
-
 
13
    String remark;
12
    String paymentStatus;
14
    String paymentStatus;
13
    String insuranceStatus;
15
    String insuranceStatus;
14
    float policySoldAmount;
16
    float policySoldAmount;
15
    String invoiceNumber;
17
    String invoiceNumber;
16
    String serialNumber;
18
    String serialNumber;
17
 
19
 
18
    public UpsellingReportModel(int agentId, String agentEmail, String partnerName, int orderId, String customerNumber, String callingDate, String paymentStatus, String insuranceStatus, float policySoldAmount, String invoiceNumber, String serialNumber) {
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) {
19
        this.agentId = agentId;
21
        this.agentId = agentId;
20
        this.agentEmail = agentEmail;
22
        this.agentEmail = agentEmail;
21
        this.partnerName = partnerName;
23
        this.partnerName = partnerName;
22
        this.orderId = orderId;
24
        this.orderId = orderId;
23
        this.customerNumber = customerNumber;
25
        this.customerNumber = customerNumber;
24
        this.callingDate = callingDate;
26
        this.callingDate = callingDate;
-
 
27
        this.disposition = disposition;
-
 
28
        this.remark = remark;
25
        this.paymentStatus = paymentStatus;
29
        this.paymentStatus = paymentStatus;
26
        this.insuranceStatus = insuranceStatus;
30
        this.insuranceStatus = insuranceStatus;
27
        this.policySoldAmount = policySoldAmount;
31
        this.policySoldAmount = policySoldAmount;
28
        this.invoiceNumber = invoiceNumber;
32
        this.invoiceNumber = invoiceNumber;
29
        this.serialNumber = serialNumber;
33
        this.serialNumber = serialNumber;
Line 75... Line 79...
75
 
79
 
76
    public void setCallingDate(String callingDate) {
80
    public void setCallingDate(String callingDate) {
77
        this.callingDate = callingDate;
81
        this.callingDate = callingDate;
78
    }
82
    }
79
 
83
 
-
 
84
    public String getDisposition() {
-
 
85
        return disposition;
-
 
86
    }
-
 
87
 
-
 
88
    public void setDisposition(String disposition) {
-
 
89
        this.disposition = disposition;
-
 
90
    }
-
 
91
 
-
 
92
    public String getRemark() {
-
 
93
        return remark;
-
 
94
    }
-
 
95
 
-
 
96
    public void setRemark(String remark) {
-
 
97
        this.remark = remark;
-
 
98
    }
-
 
99
 
80
    public String getPaymentStatus() {
100
    public String getPaymentStatus() {
81
        return paymentStatus;
101
        return paymentStatus;
82
    }
102
    }
83
 
103
 
84
    public void setPaymentStatus(String paymentStatus) {
104
    public void setPaymentStatus(String paymentStatus) {
Line 116... Line 136...
116
    public void setSerialNumber(String serialNumber) {
136
    public void setSerialNumber(String serialNumber) {
117
        this.serialNumber = serialNumber;
137
        this.serialNumber = serialNumber;
118
    }
138
    }
119
 
139
 
120
    @Override
140
    @Override
121
    public boolean equals(Object o) {
-
 
122
        if (this == o) return true;
-
 
123
        if (o == null || getClass() != o.getClass()) return false;
-
 
124
        UpsellingReportModel that = (UpsellingReportModel) o;
-
 
125
        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(paymentStatus, that.paymentStatus) && Objects.equals(insuranceStatus, that.insuranceStatus) && Objects.equals(invoiceNumber, that.invoiceNumber) && Objects.equals(serialNumber, that.serialNumber);
-
 
126
    }
-
 
127
 
-
 
128
    @Override
-
 
129
    public int hashCode() {
-
 
130
        return Objects.hash(agentId, agentEmail, partnerName, orderId, customerNumber, callingDate, paymentStatus, insuranceStatus, policySoldAmount, invoiceNumber, serialNumber);
-
 
131
    }
-
 
132
 
-
 
133
    @Override
-
 
134
    public String toString() {
141
    public String toString() {
135
        return "UpsellingReportModel{" +
142
        return "UpsellingReportModel{" +
136
                "agentId=" + agentId +
143
                "agentId=" + agentId +
137
                ", agentEmail='" + agentEmail + '\'' +
144
                ", agentEmail='" + agentEmail + '\'' +
138
                ", partnerName='" + partnerName + '\'' +
145
                ", partnerName='" + partnerName + '\'' +
139
                ", orderId=" + orderId +
146
                ", orderId=" + orderId +
140
                ", customerNumber='" + customerNumber + '\'' +
147
                ", customerNumber='" + customerNumber + '\'' +
141
                ", callingDate='" + callingDate + '\'' +
148
                ", callingDate='" + callingDate + '\'' +
-
 
149
                ", disposition='" + disposition + '\'' +
-
 
150
                ", remark='" + remark + '\'' +
142
                ", paymentStatus='" + paymentStatus + '\'' +
151
                ", paymentStatus='" + paymentStatus + '\'' +
143
                ", insuranceStatus='" + insuranceStatus + '\'' +
152
                ", insuranceStatus='" + insuranceStatus + '\'' +
144
                ", policySoldAmount=" + policySoldAmount +
153
                ", policySoldAmount=" + policySoldAmount +
145
                ", invoiceNumber='" + invoiceNumber + '\'' +
154
                ", invoiceNumber='" + invoiceNumber + '\'' +
146
                ", serialNumber='" + serialNumber + '\'' +
155
                ", serialNumber='" + serialNumber + '\'' +
147
                '}';
156
                '}';
148
    }
157
    }
149
 
158
 
-
 
159
    @Override
-
 
160
    public boolean equals(Object o) {
-
 
161
        if (this == o) return true;
-
 
162
        if (o == null || getClass() != o.getClass()) return false;
-
 
163
        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);
-
 
165
    }
-
 
166
 
-
 
167
    @Override
-
 
168
    public int hashCode() {
-
 
169
        return Objects.hash(agentId, agentEmail, partnerName, orderId, customerNumber, callingDate, disposition, remark, paymentStatus, insuranceStatus, policySoldAmount, invoiceNumber, serialNumber);
-
 
170
    }
150
}
171
}