Subversion Repositories SmartDukaan

Rev

Rev 36242 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 36242 Rev 36439
Line 183... Line 183...
183
    private int astId;
183
    private int astId;
184
 
184
 
185
    @Column(name = "gst_number")
185
    @Column(name = "gst_number")
186
    private String gstNumber;
186
    private String gstNumber;
187
 
187
 
-
 
188
    @Column(name = "outlet_name")
-
 
189
    private String outletName;
-
 
190
 
188
    @Column(name = "closed")
191
    @Column(name = "closed")
189
    private boolean closed = false;
192
    private boolean closed = false;
190
 
193
 
191
    @Column(name = "closed_timestamp")
194
    @Column(name = "closed_timestamp")
192
    private LocalDateTime closedTimestamp;
195
    private LocalDateTime closedTimestamp;
Line 389... Line 392...
389
 
392
 
390
    public void setGstNumber(String gstNumber) {
393
    public void setGstNumber(String gstNumber) {
391
        this.gstNumber = gstNumber;
394
        this.gstNumber = gstNumber;
392
    }
395
    }
393
 
396
 
-
 
397
    public String getOutletName() {
-
 
398
        return outletName;
-
 
399
    }
-
 
400
 
-
 
401
    public void setOutletName(String outletName) {
-
 
402
        this.outletName = outletName;
-
 
403
    }
-
 
404
 
394
    public boolean isClosed() {
405
    public boolean isClosed() {
395
        return closed;
406
        return closed;
396
    }
407
    }
397
 
408
 
398
    public void setClosed(boolean closed) {
409
    public void setClosed(boolean closed) {
Line 433... Line 444...
433
 
444
 
434
    @Override
445
    @Override
435
    public boolean equals(Object o) {
446
    public boolean equals(Object o) {
436
        if (o == null || getClass() != o.getClass()) return false;
447
        if (o == null || getClass() != o.getClass()) return false;
437
        FofoStore fofoStore = (FofoStore) o;
448
        FofoStore fofoStore = (FofoStore) o;
438
        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);
449
        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(outletName, fofoStore.outletName) && Objects.equals(closedTimestamp, fofoStore.closedTimestamp) && Objects.equals(trialStart, fofoStore.trialStart) && Objects.equals(trialEnd, fofoStore.trialEnd);
439
    }
450
    }
440
 
451
 
441
    @Override
452
    @Override
442
    public int hashCode() {
453
    public int hashCode() {
443
        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);
454
        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, outletName, closed, closedTimestamp, trial, trialStart, trialEnd);
444
    }
455
    }
445
 
456
 
446
    @Override
457
    @Override
447
    public String toString() {
458
    public String toString() {
448
        return "FofoStore{" +
459
        return "FofoStore{" +
Line 467... Line 478...
467
                ", activeTimeStamp=" + activeTimeStamp +
478
                ", activeTimeStamp=" + activeTimeStamp +
468
                ", target=" + target +
479
                ", target=" + target +
469
                ", graceCount=" + graceCount +
480
                ", graceCount=" + graceCount +
470
                ", astId=" + astId +
481
                ", astId=" + astId +
471
                ", gstNumber='" + gstNumber + '\'' +
482
                ", gstNumber='" + gstNumber + '\'' +
-
 
483
                ", outletName='" + outletName + '\'' +
472
                ", closed=" + closed +
484
                ", closed=" + closed +
473
                ", closedTimestamp=" + closedTimestamp +
485
                ", closedTimestamp=" + closedTimestamp +
474
                ", trial=" + trial +
486
                ", trial=" + trial +
475
                ", trialStart=" + trialStart +
487
                ", trialStart=" + trialStart +
476
                ", trialEnd=" + trialEnd +
488
                ", trialEnd=" + trialEnd +