| Line 176... |
Line 176... |
| 176 |
private int target;
|
176 |
private int target;
|
| 177 |
@Column(name = "grace_count")
|
177 |
@Column(name = "grace_count")
|
| 178 |
private int graceCount;
|
178 |
private int graceCount;
|
| 179 |
@Column(name = "astId")
|
179 |
@Column(name = "astId")
|
| 180 |
private int astId;
|
180 |
private int astId;
|
| 181 |
@Column(name = "shopify_location_id")
|
- |
|
| 182 |
private String shopifyLocationId;
|
- |
|
| 183 |
@Column(name = "shopify_customer_id")
|
- |
|
| 184 |
private String shopifyCustomerId;
|
- |
|
| - |
|
181 |
|
| 185 |
@Column(name = "gst_number")
|
182 |
@Column(name = "gst_number")
|
| 186 |
private String gstNumber;
|
183 |
private String gstNumber;
|
| 187 |
|
184 |
|
| 188 |
@Column(name = "trial")
|
185 |
@Column(name = "trial")
|
| 189 |
private boolean trial = false;
|
186 |
private boolean trial = false;
|
| Line 192... |
Line 189... |
| 192 |
private LocalDate trialStart;
|
189 |
private LocalDate trialStart;
|
| 193 |
|
190 |
|
| 194 |
@Column(name = "trial_end")
|
191 |
@Column(name = "trial_end")
|
| 195 |
private LocalDate trialEnd;
|
192 |
private LocalDate trialEnd;
|
| 196 |
|
193 |
|
| - |
|
194 |
@Column(name = "minimum_investment_old")
|
| - |
|
195 |
private float minimumInvestmentOld;
|
| - |
|
196 |
|
| 197 |
public FofoStore() {
|
197 |
public FofoStore() {
|
| 198 |
}
|
198 |
}
|
| 199 |
|
199 |
|
| 200 |
public int getAstId() {
|
200 |
public int getAstId() {
|
| 201 |
return astId;
|
201 |
return astId;
|
| Line 303... |
Line 303... |
| 303 |
|
303 |
|
| 304 |
public float getMinimumInvestment() {
|
304 |
public float getMinimumInvestment() {
|
| 305 |
return minimumInvestment;
|
305 |
return minimumInvestment;
|
| 306 |
}
|
306 |
}
|
| 307 |
|
307 |
|
| - |
|
308 |
public float getMinimumInvestmentOld() {
|
| - |
|
309 |
return minimumInvestmentOld;
|
| - |
|
310 |
}
|
| - |
|
311 |
|
| - |
|
312 |
public void setMinimumInvestmentOld(float minimumInvestmentOld) {
|
| - |
|
313 |
this.minimumInvestmentOld = minimumInvestmentOld;
|
| - |
|
314 |
}
|
| - |
|
315 |
|
| 308 |
public void setMinimumInvestment(float minimumInvestment) {
|
316 |
public void setMinimumInvestment(float minimumInvestment) {
|
| 309 |
this.minimumInvestment = minimumInvestment;
|
317 |
this.minimumInvestment = minimumInvestment;
|
| 310 |
}
|
318 |
}
|
| 311 |
|
319 |
|
| 312 |
/*
|
320 |
/*
|
| Line 375... |
Line 383... |
| 375 |
|
383 |
|
| 376 |
public void setFofoType(FofoType fofoType) {
|
384 |
public void setFofoType(FofoType fofoType) {
|
| 377 |
this.fofoType = fofoType;
|
385 |
this.fofoType = fofoType;
|
| 378 |
}
|
386 |
}
|
| 379 |
|
387 |
|
| 380 |
public String getShopifyLocationId() {
|
- |
|
| 381 |
return shopifyLocationId;
|
- |
|
| 382 |
}
|
- |
|
| 383 |
|
- |
|
| 384 |
public void setShopifyLocationId(String shopifyLocationId) {
|
- |
|
| 385 |
this.shopifyLocationId = shopifyLocationId;
|
- |
|
| 386 |
}
|
- |
|
| 387 |
|
- |
|
| 388 |
public String getShopifyCustomerId() {
|
- |
|
| 389 |
return shopifyCustomerId;
|
- |
|
| 390 |
}
|
- |
|
| 391 |
|
- |
|
| 392 |
public void setShopifyCustomerId(String shopifyCustomerId) {
|
- |
|
| 393 |
this.shopifyCustomerId = shopifyCustomerId;
|
- |
|
| 394 |
}
|
- |
|
| 395 |
|
- |
|
| 396 |
public String getGstNumber() {
|
388 |
public String getGstNumber() {
|
| 397 |
return gstNumber;
|
389 |
return gstNumber;
|
| 398 |
}
|
390 |
}
|
| 399 |
|
391 |
|
| 400 |
public void setGstNumber(String gstNumber) {
|
392 |
public void setGstNumber(String gstNumber) {
|
| Line 425... |
Line 417... |
| 425 |
this.trialEnd = trialEnd;
|
417 |
this.trialEnd = trialEnd;
|
| 426 |
}
|
418 |
}
|
| 427 |
|
419 |
|
| 428 |
@Override
|
420 |
@Override
|
| 429 |
public boolean equals(Object o) {
|
421 |
public boolean equals(Object o) {
|
| 430 |
if (!(o instanceof FofoStore)) return false;
|
422 |
if (o == null || getClass() != o.getClass()) return false;
|
| 431 |
FofoStore fofoStore = (FofoStore) o;
|
423 |
FofoStore fofoStore = (FofoStore) o;
|
| 432 |
return id == fofoStore.id && codeInt == fofoStore.codeInt && Float.compare(counterPotential, fofoStore.counterPotential) == 0 && warehouseId == fofoStore.warehouseId && Float.compare(minimumInvestment, fofoStore.minimumInvestment) == 0 && investmentOk == fofoStore.investmentOk && active == fofoStore.active && internal == fofoStore.internal && target == fofoStore.target && graceCount == fofoStore.graceCount && astId == fofoStore.astId && Objects.equals(code, fofoStore.code) && Objects.equals(latitude, fofoStore.latitude) && Objects.equals(longitude, fofoStore.longitude) && counterSize == fofoStore.counterSize && Objects.equals(graceDate, fofoStore.graceDate) && Objects.equals(pan, fofoStore.pan) && Objects.equals(userAddress, fofoStore.userAddress) && Objects.equals(bagsLastCredited, fofoStore.bagsLastCredited) && fofoType == fofoStore.fofoType && activationType == fofoStore.activationType && Objects.equals(activeTimeStamp, fofoStore.activeTimeStamp) && Objects.equals(shopifyLocationId, fofoStore.shopifyLocationId) && Objects.equals(shopifyCustomerId, fofoStore.shopifyCustomerId) && Objects.equals(gstNumber, fofoStore.gstNumber);
|
424 |
return id == fofoStore.id && codeInt == fofoStore.codeInt && Float.compare(counterPotential, fofoStore.counterPotential) == 0 && warehouseId == fofoStore.warehouseId && Float.compare(minimumInvestment, fofoStore.minimumInvestment) == 0 && investmentOk == fofoStore.investmentOk && active == fofoStore.active && internal == fofoStore.internal && target == fofoStore.target && graceCount == fofoStore.graceCount && astId == fofoStore.astId && trial == fofoStore.trial && Float.compare(minimumInvestmentOld, fofoStore.minimumInvestmentOld) == 0 && Objects.equals(code, fofoStore.code) && Objects.equals(latitude, fofoStore.latitude) && Objects.equals(longitude, fofoStore.longitude) && counterSize == fofoStore.counterSize && Objects.equals(graceDate, fofoStore.graceDate) && Objects.equals(pan, fofoStore.pan) && Objects.equals(userAddress, fofoStore.userAddress) && Objects.equals(bagsLastCredited, fofoStore.bagsLastCredited) && fofoType == fofoStore.fofoType && activationType == fofoStore.activationType && Objects.equals(activeTimeStamp, fofoStore.activeTimeStamp) && Objects.equals(gstNumber, fofoStore.gstNumber) && Objects.equals(trialStart, fofoStore.trialStart) && Objects.equals(trialEnd, fofoStore.trialEnd);
|
| 433 |
}
|
425 |
}
|
| 434 |
|
426 |
|
| 435 |
@Override
|
427 |
@Override
|
| 436 |
public int hashCode() {
|
428 |
public int hashCode() {
|
| 437 |
return Objects.hash(id, codeInt, code, latitude, longitude, counterSize, counterPotential, warehouseId, minimumInvestment, graceDate, investmentOk, active, pan, userAddress, internal, bagsLastCredited, fofoType, activationType, activeTimeStamp, target, graceCount, astId, shopifyLocationId, shopifyCustomerId, gstNumber);
|
429 |
return Objects.hash(id, codeInt, code, latitude, longitude, counterSize, counterPotential, warehouseId, minimumInvestment, graceDate, investmentOk, active, pan, userAddress, internal, bagsLastCredited, fofoType, activationType, activeTimeStamp, target, graceCount, astId, gstNumber, trial, trialStart, trialEnd, minimumInvestmentOld);
|
| 438 |
}
|
430 |
}
|
| 439 |
|
431 |
|
| 440 |
@Override
|
432 |
@Override
|
| 441 |
public String toString() {
|
433 |
public String toString() {
|
| 442 |
return "FofoStore{" +
|
434 |
return "FofoStore{" +
|
| Line 460... |
Line 452... |
| 460 |
", activationType=" + activationType +
|
452 |
", activationType=" + activationType +
|
| 461 |
", activeTimeStamp=" + activeTimeStamp +
|
453 |
", activeTimeStamp=" + activeTimeStamp +
|
| 462 |
", target=" + target +
|
454 |
", target=" + target +
|
| 463 |
", graceCount=" + graceCount +
|
455 |
", graceCount=" + graceCount +
|
| 464 |
", astId=" + astId +
|
456 |
", astId=" + astId +
|
| 465 |
", shopifyLocationId='" + shopifyLocationId + '\'' +
|
- |
|
| 466 |
", shopifyCustomerId='" + shopifyCustomerId + '\'' +
|
- |
|
| 467 |
", gstNumber='" + gstNumber + '\'' +
|
457 |
", gstNumber='" + gstNumber + '\'' +
|
| - |
|
458 |
", trial=" + trial +
|
| - |
|
459 |
", trialStart=" + trialStart +
|
| - |
|
460 |
", trialEnd=" + trialEnd +
|
| - |
|
461 |
", minimumInvestmentOld=" + minimumInvestmentOld +
|
| 468 |
'}';
|
462 |
'}';
|
| 469 |
}
|
463 |
}
|
| - |
|
464 |
|
| - |
|
465 |
public float getMinInvestmentOld() {
|
| - |
|
466 |
return minimumInvestmentOld;
|
| - |
|
467 |
}
|
| 470 |
}
|
468 |
}
|
| 471 |
|
469 |
|