Subversion Repositories SmartDukaan

Rev

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

Rev 35284 Rev 35289
Line 183... Line 183...
183
    @Column(name = "shopify_customer_id")
183
    @Column(name = "shopify_customer_id")
184
    private String shopifyCustomerId;
184
    private String shopifyCustomerId;
185
    @Column(name = "gst_number")
185
    @Column(name = "gst_number")
186
    private String gstNumber;
186
    private String gstNumber;
187
 
187
 
-
 
188
    @Column(name = "trial")
-
 
189
    private boolean trial = false;
-
 
190
 
-
 
191
    @Column(name = "trial_start")
-
 
192
    private LocalDate trialStart;
-
 
193
 
-
 
194
    @Column(name = "trial_end")
-
 
195
    private LocalDate trialEnd;
-
 
196
 
188
    public FofoStore() {
197
    public FofoStore() {
189
    }
198
    }
190
 
199
 
191
    public int getAstId() {
200
    public int getAstId() {
192
        return astId;
201
        return astId;
Line 390... Line 399...
390
 
399
 
391
    public void setGstNumber(String gstNumber) {
400
    public void setGstNumber(String gstNumber) {
392
        this.gstNumber = gstNumber;
401
        this.gstNumber = gstNumber;
393
    }
402
    }
394
 
403
 
-
 
404
    public boolean isTrial() {
-
 
405
        return trial;
-
 
406
    }
-
 
407
 
-
 
408
    public void setTrial(boolean trial) {
-
 
409
        this.trial = trial;
-
 
410
    }
-
 
411
 
-
 
412
    public LocalDate getTrialStart() {
-
 
413
        return trialStart;
-
 
414
    }
-
 
415
 
-
 
416
    public void setTrialStart(LocalDate trialStart) {
-
 
417
        this.trialStart = trialStart;
-
 
418
    }
-
 
419
 
-
 
420
    public LocalDate getTrialEnd() {
-
 
421
        return trialEnd;
-
 
422
    }
-
 
423
 
-
 
424
    public void setTrialEnd(LocalDate trialEnd) {
-
 
425
        this.trialEnd = trialEnd;
-
 
426
    }
-
 
427
 
395
    @Override
428
    @Override
396
    public boolean equals(Object o) {
429
    public boolean equals(Object o) {
397
        if (!(o instanceof FofoStore)) return false;
430
        if (!(o instanceof FofoStore)) return false;
398
        FofoStore fofoStore = (FofoStore) o;
431
        FofoStore fofoStore = (FofoStore) o;
399
        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);
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);