Subversion Repositories SmartDukaan

Rev

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

Rev 34194 Rev 34798
Line 14... Line 14...
14
	private LocalDate wmfgDate;
14
	private LocalDate wmfgDate;
15
	private String modelName;
15
	private String modelName;
16
	private float insuranceAmount;
16
	private float insuranceAmount;
17
	private String insuranceId;
17
	private String insuranceId;
18
	private String insuranceUId;
18
	private String insuranceUId;
-
 
19
    private String correlationId;
19
	private float deviceSellingPrice;
20
	private float deviceSellingPrice;
20
	private String serialNumber;
21
	private String serialNumber;
21
	private String providerName;
22
	private String providerName;
22
	private String providerId;
23
	private String providerId;
23
	private String underWriterName;
24
	private String underWriterName;
Line 203... Line 204...
203
 
204
 
204
	public void setDob(LocalDate dob) {
205
	public void setDob(LocalDate dob) {
205
		this.dob = dob;
206
		this.dob = dob;
206
	}
207
	}
207
 
208
 
-
 
209
    public String getCorrelationId() {
-
 
210
        return correlationId;
-
 
211
    }
-
 
212
 
-
 
213
    public void setCorrelationId(String correlationId) {
-
 
214
        this.correlationId = correlationId;
-
 
215
    }
-
 
216
 
208
	@Override
217
	@Override
209
	public boolean equals(Object o) {
218
	public boolean equals(Object o) {
210
		if (this == o) return true;
219
		if (this == o) return true;
211
		if (o == null || getClass() != o.getClass()) return false;
220
		if (o == null || getClass() != o.getClass()) return false;
212
		InsuranceModel that = (InsuranceModel) o;
221
		InsuranceModel that = (InsuranceModel) o;
213
		return Float.compare(insuranceAmount, that.insuranceAmount) == 0 && Float.compare(deviceSellingPrice, that.deviceSellingPrice) == 0 && customerId == that.customerId && fofoOrderId == that.fofoOrderId && fofoOrderItemId == that.fofoOrderItemId && Objects.equals(brand, that.brand) && Objects.equals(color, that.color) && Objects.equals(ram, that.ram) && Objects.equals(memory, that.memory) && Objects.equals(mfgDate, that.mfgDate) && Objects.equals(wmfgDate, that.wmfgDate) && Objects.equals(modelName, that.modelName) && Objects.equals(insuranceId, that.insuranceId) && Objects.equals(insuranceUId, that.insuranceUId) && Objects.equals(serialNumber, that.serialNumber) && Objects.equals(providerName, that.providerName) && Objects.equals(providerId, that.providerId) && Objects.equals(underWriterName, that.underWriterName) && Objects.equals(underWriterId, that.underWriterId) && Objects.equals(customerEmail, that.customerEmail) && Objects.equals(dob, that.dob) && Objects.equals(paymentOptions, that.paymentOptions);
222
        return Float.compare(insuranceAmount, that.insuranceAmount) == 0 && Float.compare(deviceSellingPrice, that.deviceSellingPrice) == 0 && customerId == that.customerId && fofoOrderId == that.fofoOrderId && fofoOrderItemId == that.fofoOrderItemId && Objects.equals(brand, that.brand) && Objects.equals(color, that.color) && Objects.equals(ram, that.ram) && Objects.equals(memory, that.memory) && Objects.equals(mfgDate, that.mfgDate) && Objects.equals(wmfgDate, that.wmfgDate) && Objects.equals(modelName, that.modelName) && Objects.equals(insuranceId, that.insuranceId) && Objects.equals(insuranceUId, that.insuranceUId) && Objects.equals(correlationId, that.correlationId) && Objects.equals(serialNumber, that.serialNumber) && Objects.equals(providerName, that.providerName) && Objects.equals(providerId, that.providerId) && Objects.equals(underWriterName, that.underWriterName) && Objects.equals(underWriterId, that.underWriterId) && Objects.equals(customerEmail, that.customerEmail) && Objects.equals(dob, that.dob) && Objects.equals(paymentOptions, that.paymentOptions);
214
	}
223
	}
215
 
224
 
216
	@Override
225
	@Override
217
	public int hashCode() {
226
	public int hashCode() {
218
		return Objects.hash(brand, color, ram, memory, mfgDate, wmfgDate, modelName, insuranceAmount, insuranceId, insuranceUId, deviceSellingPrice, serialNumber, providerName, providerId, underWriterName, underWriterId, customerId, customerEmail, dob, fofoOrderId, fofoOrderItemId, paymentOptions);
227
        return Objects.hash(brand, color, ram, memory, mfgDate, wmfgDate, modelName, insuranceAmount, insuranceId, insuranceUId, correlationId, deviceSellingPrice, serialNumber, providerName, providerId, underWriterName, underWriterId, customerId, customerEmail, dob, fofoOrderId, fofoOrderItemId, paymentOptions);
219
	}
228
	}
220
 
229
 
221
	@Override
230
	@Override
222
	public String toString() {
231
	public String toString() {
223
		return "InsuranceModel{" +
232
		return "InsuranceModel{" +
Line 229... Line 238...
229
				", wmfgDate=" + wmfgDate +
238
				", wmfgDate=" + wmfgDate +
230
				", modelName='" + modelName + '\'' +
239
				", modelName='" + modelName + '\'' +
231
				", insuranceAmount=" + insuranceAmount +
240
				", insuranceAmount=" + insuranceAmount +
232
				", insuranceId='" + insuranceId + '\'' +
241
				", insuranceId='" + insuranceId + '\'' +
233
				", insuranceUId='" + insuranceUId + '\'' +
242
				", insuranceUId='" + insuranceUId + '\'' +
-
 
243
                ", correlationId='" + correlationId + '\'' +
234
				", deviceSellingPrice=" + deviceSellingPrice +
244
				", deviceSellingPrice=" + deviceSellingPrice +
235
				", serialNumber='" + serialNumber + '\'' +
245
				", serialNumber='" + serialNumber + '\'' +
236
				", providerName='" + providerName + '\'' +
246
				", providerName='" + providerName + '\'' +
237
				", providerId='" + providerId + '\'' +
247
				", providerId='" + providerId + '\'' +
238
				", underWriterName='" + underWriterName + '\'' +
248
				", underWriterName='" + underWriterName + '\'' +