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; } }