yangys
2024-05-18 040976de6f9934b99f30268a28e2ecf42260e217
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
package com.qianwen.core.sequence.properties;
 
 
public class BaseSequenceProperties {
    private int step = 1000;
    private long stepStart = 0;
    private String bizName = "MasterLink";
    private boolean enabled = false;
 
    public void setStep(final int step) {
        this.step = step;
    }
 
    public void setStepStart(final long stepStart) {
        this.stepStart = stepStart;
    }
 
    public void setBizName(final String bizName) {
        this.bizName = bizName;
    }
 
    public void setEnabled(final boolean enabled) {
        this.enabled = enabled;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof BaseSequenceProperties) {
            BaseSequenceProperties other = (BaseSequenceProperties) o;
            if (other.canEqual(this) && getStep() == other.getStep() && getStepStart() == other.getStepStart() && isEnabled() == other.isEnabled()) {
                Object this$bizName = getBizName();
                Object other$bizName = other.getBizName();
                return this$bizName == null ? other$bizName == null : this$bizName.equals(other$bizName);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof BaseSequenceProperties;
    }
 
    public int hashCode() {
        int result = (1 * 59) + getStep();
        long $stepStart = getStepStart();
        int result2 = (((result * 59) + ((int) (($stepStart >>> 32) ^ $stepStart))) * 59) + (isEnabled() ? 79 : 97);
        Object $bizName = getBizName();
        return (result2 * 59) + ($bizName == null ? 43 : $bizName.hashCode());
    }
 
    public String toString() {
        return "BaseSequenceProperties(step=" + getStep() + ", stepStart=" + getStepStart() + ", bizName=" + getBizName() + ", enabled=" + isEnabled() + ")";
    }
 
    public int getStep() {
        return this.step;
    }
 
    public long getStepStart() {
        return this.stepStart;
    }
 
    public String getBizName() {
        return this.bizName;
    }
 
    public boolean isEnabled() {
        return this.enabled;
    }
}