| Line 182... |
Line 182... |
| 182 |
private int astId;
|
182 |
private int astId;
|
| 183 |
|
183 |
|
| 184 |
@Column(name = "gst_number")
|
184 |
@Column(name = "gst_number")
|
| 185 |
private String gstNumber;
|
185 |
private String gstNumber;
|
| 186 |
|
186 |
|
| - |
|
187 |
@Column(name = "closed")
|
| - |
|
188 |
private boolean closed = false;
|
| - |
|
189 |
|
| - |
|
190 |
@Column(name = "closed_timestamp")
|
| - |
|
191 |
private LocalDateTime closedTimestamp;
|
| - |
|
192 |
|
| 187 |
@Column(name = "trial")
|
193 |
@Column(name = "trial")
|
| 188 |
private boolean trial = false;
|
194 |
private boolean trial = false;
|
| 189 |
|
195 |
|
| 190 |
@Column(name = "trial_start")
|
196 |
@Column(name = "trial_start")
|
| 191 |
private LocalDate trialStart;
|
197 |
private LocalDate trialStart;
|
| Line 382... |
Line 388... |
| 382 |
|
388 |
|
| 383 |
public void setGstNumber(String gstNumber) {
|
389 |
public void setGstNumber(String gstNumber) {
|
| 384 |
this.gstNumber = gstNumber;
|
390 |
this.gstNumber = gstNumber;
|
| 385 |
}
|
391 |
}
|
| 386 |
|
392 |
|
| - |
|
393 |
public boolean isClosed() {
|
| - |
|
394 |
return closed;
|
| - |
|
395 |
}
|
| - |
|
396 |
|
| - |
|
397 |
public void setClosed(boolean closed) {
|
| - |
|
398 |
this.closed = closed;
|
| - |
|
399 |
}
|
| - |
|
400 |
|
| - |
|
401 |
public LocalDateTime getClosedTimestamp() {
|
| - |
|
402 |
return closedTimestamp;
|
| - |
|
403 |
}
|
| - |
|
404 |
|
| - |
|
405 |
public void setClosedTimestamp(LocalDateTime closedTimestamp) {
|
| - |
|
406 |
this.closedTimestamp = closedTimestamp;
|
| - |
|
407 |
}
|
| - |
|
408 |
|
| 387 |
public boolean isTrial() {
|
409 |
public boolean isTrial() {
|
| 388 |
return trial;
|
410 |
return trial;
|
| 389 |
}
|
411 |
}
|
| 390 |
|
412 |
|
| 391 |
public void setTrial(boolean trial) {
|
413 |
public void setTrial(boolean trial) {
|
| Line 410... |
Line 432... |
| 410 |
|
432 |
|
| 411 |
@Override
|
433 |
@Override
|
| 412 |
public boolean equals(Object o) {
|
434 |
public boolean equals(Object o) {
|
| 413 |
if (o == null || getClass() != o.getClass()) return false;
|
435 |
if (o == null || getClass() != o.getClass()) return false;
|
| 414 |
FofoStore fofoStore = (FofoStore) o;
|
436 |
FofoStore fofoStore = (FofoStore) o;
|
| 415 |
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 && 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);
|
437 |
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 && closed == fofoStore.closed && trial == fofoStore.trial && 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(closedTimestamp, fofoStore.closedTimestamp) && Objects.equals(trialStart, fofoStore.trialStart) && Objects.equals(trialEnd, fofoStore.trialEnd);
|
| 416 |
}
|
438 |
}
|
| 417 |
|
439 |
|
| 418 |
@Override
|
440 |
@Override
|
| 419 |
public int hashCode() {
|
441 |
public int hashCode() {
|
| 420 |
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);
|
442 |
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, closed, closedTimestamp, trial, trialStart, trialEnd);
|
| 421 |
}
|
443 |
}
|
| 422 |
|
444 |
|
| 423 |
@Override
|
445 |
@Override
|
| 424 |
public String toString() {
|
446 |
public String toString() {
|
| 425 |
return "FofoStore{" +
|
447 |
return "FofoStore{" +
|
| Line 444... |
Line 466... |
| 444 |
", activeTimeStamp=" + activeTimeStamp +
|
466 |
", activeTimeStamp=" + activeTimeStamp +
|
| 445 |
", target=" + target +
|
467 |
", target=" + target +
|
| 446 |
", graceCount=" + graceCount +
|
468 |
", graceCount=" + graceCount +
|
| 447 |
", astId=" + astId +
|
469 |
", astId=" + astId +
|
| 448 |
", gstNumber='" + gstNumber + '\'' +
|
470 |
", gstNumber='" + gstNumber + '\'' +
|
| - |
|
471 |
", closed=" + closed +
|
| - |
|
472 |
", closedTimestamp=" + closedTimestamp +
|
| 449 |
", trial=" + trial +
|
473 |
", trial=" + trial +
|
| 450 |
", trialStart=" + trialStart +
|
474 |
", trialStart=" + trialStart +
|
| 451 |
", trialEnd=" + trialEnd +
|
475 |
", trialEnd=" + trialEnd +
|
| 452 |
'}';
|
476 |
'}';
|
| 453 |
}
|
477 |
}
|