package com.qianwen.core.coderule.model; import java.io.Serializable; public class CodeRuleEntryModel implements Serializable { private Integer seq; private Integer elementType; private String elementSource; private Integer sourceProperty; private Integer length; private String format; private String elementValue; private Integer seed; private Integer incrementStep; private String separatorChar; private String reChar; private String addChar; private Boolean cutStyle; private Boolean addStyle; private Boolean codeOnlyBy; private Boolean codeElement; public void setSeq(final Integer seq) { this.seq = seq; } public void setElementType(final Integer elementType) { this.elementType = elementType; } public void setElementSource(final String elementSource) { this.elementSource = elementSource; } public void setSourceProperty(final Integer sourceProperty) { this.sourceProperty = sourceProperty; } public void setLength(final Integer length) { this.length = length; } public void setFormat(final String format) { this.format = format; } public void setElementValue(final String elementValue) { this.elementValue = elementValue; } public void setSeed(final Integer seed) { this.seed = seed; } public void setIncrementStep(final Integer incrementStep) { this.incrementStep = incrementStep; } public void setSeparatorChar(final String separatorChar) { this.separatorChar = separatorChar; } public void setReChar(final String reChar) { this.reChar = reChar; } public void setAddChar(final String addChar) { this.addChar = addChar; } public void setCutStyle(final Boolean cutStyle) { this.cutStyle = cutStyle; } public void setAddStyle(final Boolean addStyle) { this.addStyle = addStyle; } public void setCodeOnlyBy(final Boolean codeOnlyBy) { this.codeOnlyBy = codeOnlyBy; } public void setCodeElement(final Boolean codeElement) { this.codeElement = codeElement; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof CodeRuleEntryModel) { CodeRuleEntryModel other = (CodeRuleEntryModel) o; if (other.canEqual(this)) { Object this$seq = getSeq(); Object other$seq = other.getSeq(); if (this$seq == null) { if (other$seq != null) { return false; } } else if (!this$seq.equals(other$seq)) { return false; } Object this$elementType = getElementType(); Object other$elementType = other.getElementType(); if (this$elementType == null) { if (other$elementType != null) { return false; } } else if (!this$elementType.equals(other$elementType)) { return false; } Object this$sourceProperty = getSourceProperty(); Object other$sourceProperty = other.getSourceProperty(); if (this$sourceProperty == null) { if (other$sourceProperty != null) { return false; } } else if (!this$sourceProperty.equals(other$sourceProperty)) { return false; } Object this$length = getLength(); Object other$length = other.getLength(); if (this$length == null) { if (other$length != null) { return false; } } else if (!this$length.equals(other$length)) { return false; } Object this$seed = getSeed(); Object other$seed = other.getSeed(); if (this$seed == null) { if (other$seed != null) { return false; } } else if (!this$seed.equals(other$seed)) { return false; } Object this$incrementStep = getIncrementStep(); Object other$incrementStep = other.getIncrementStep(); if (this$incrementStep == null) { if (other$incrementStep != null) { return false; } } else if (!this$incrementStep.equals(other$incrementStep)) { return false; } Object this$cutStyle = getCutStyle(); Object other$cutStyle = other.getCutStyle(); if (this$cutStyle == null) { if (other$cutStyle != null) { return false; } } else if (!this$cutStyle.equals(other$cutStyle)) { return false; } Object this$addStyle = getAddStyle(); Object other$addStyle = other.getAddStyle(); if (this$addStyle == null) { if (other$addStyle != null) { return false; } } else if (!this$addStyle.equals(other$addStyle)) { return false; } Object this$codeOnlyBy = getCodeOnlyBy(); Object other$codeOnlyBy = other.getCodeOnlyBy(); if (this$codeOnlyBy == null) { if (other$codeOnlyBy != null) { return false; } } else if (!this$codeOnlyBy.equals(other$codeOnlyBy)) { return false; } Object this$codeElement = getCodeElement(); Object other$codeElement = other.getCodeElement(); if (this$codeElement == null) { if (other$codeElement != null) { return false; } } else if (!this$codeElement.equals(other$codeElement)) { return false; } Object this$elementSource = getElementSource(); Object other$elementSource = other.getElementSource(); if (this$elementSource == null) { if (other$elementSource != null) { return false; } } else if (!this$elementSource.equals(other$elementSource)) { return false; } Object this$format = getFormat(); Object other$format = other.getFormat(); if (this$format == null) { if (other$format != null) { return false; } } else if (!this$format.equals(other$format)) { return false; } Object this$elementValue = getElementValue(); Object other$elementValue = other.getElementValue(); if (this$elementValue == null) { if (other$elementValue != null) { return false; } } else if (!this$elementValue.equals(other$elementValue)) { return false; } Object this$separatorChar = getSeparatorChar(); Object other$separatorChar = other.getSeparatorChar(); if (this$separatorChar == null) { if (other$separatorChar != null) { return false; } } else if (!this$separatorChar.equals(other$separatorChar)) { return false; } Object this$reChar = getReChar(); Object other$reChar = other.getReChar(); if (this$reChar == null) { if (other$reChar != null) { return false; } } else if (!this$reChar.equals(other$reChar)) { return false; } Object this$addChar = getAddChar(); Object other$addChar = other.getAddChar(); return this$addChar == null ? other$addChar == null : this$addChar.equals(other$addChar); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof CodeRuleEntryModel; } public int hashCode() { Object $seq = getSeq(); int result = (1 * 59) + ($seq == null ? 43 : $seq.hashCode()); Object $elementType = getElementType(); int result2 = (result * 59) + ($elementType == null ? 43 : $elementType.hashCode()); Object $sourceProperty = getSourceProperty(); int result3 = (result2 * 59) + ($sourceProperty == null ? 43 : $sourceProperty.hashCode()); Object $length = getLength(); int result4 = (result3 * 59) + ($length == null ? 43 : $length.hashCode()); Object $seed = getSeed(); int result5 = (result4 * 59) + ($seed == null ? 43 : $seed.hashCode()); Object $incrementStep = getIncrementStep(); int result6 = (result5 * 59) + ($incrementStep == null ? 43 : $incrementStep.hashCode()); Object $cutStyle = getCutStyle(); int result7 = (result6 * 59) + ($cutStyle == null ? 43 : $cutStyle.hashCode()); Object $addStyle = getAddStyle(); int result8 = (result7 * 59) + ($addStyle == null ? 43 : $addStyle.hashCode()); Object $codeOnlyBy = getCodeOnlyBy(); int result9 = (result8 * 59) + ($codeOnlyBy == null ? 43 : $codeOnlyBy.hashCode()); Object $codeElement = getCodeElement(); int result10 = (result9 * 59) + ($codeElement == null ? 43 : $codeElement.hashCode()); Object $elementSource = getElementSource(); int result11 = (result10 * 59) + ($elementSource == null ? 43 : $elementSource.hashCode()); Object $format = getFormat(); int result12 = (result11 * 59) + ($format == null ? 43 : $format.hashCode()); Object $elementValue = getElementValue(); int result13 = (result12 * 59) + ($elementValue == null ? 43 : $elementValue.hashCode()); Object $separatorChar = getSeparatorChar(); int result14 = (result13 * 59) + ($separatorChar == null ? 43 : $separatorChar.hashCode()); Object $reChar = getReChar(); int result15 = (result14 * 59) + ($reChar == null ? 43 : $reChar.hashCode()); Object $addChar = getAddChar(); return (result15 * 59) + ($addChar == null ? 43 : $addChar.hashCode()); } public String toString() { return "CodeRuleEntryModel(seq=" + getSeq() + ", elementType=" + getElementType() + ", elementSource=" + getElementSource() + ", sourceProperty=" + getSourceProperty() + ", length=" + getLength() + ", format=" + getFormat() + ", elementValue=" + getElementValue() + ", seed=" + getSeed() + ", incrementStep=" + getIncrementStep() + ", separatorChar=" + getSeparatorChar() + ", reChar=" + getReChar() + ", addChar=" + getAddChar() + ", cutStyle=" + getCutStyle() + ", addStyle=" + getAddStyle() + ", codeOnlyBy=" + getCodeOnlyBy() + ", codeElement=" + getCodeElement() + ")"; } public Integer getSeq() { return this.seq; } public Integer getElementType() { return this.elementType; } public String getElementSource() { return this.elementSource; } public Integer getSourceProperty() { return this.sourceProperty; } public Integer getLength() { return this.length; } public String getFormat() { return this.format; } public String getElementValue() { return this.elementValue; } public Integer getSeed() { return this.seed; } public Integer getIncrementStep() { return this.incrementStep; } public String getSeparatorChar() { return this.separatorChar; } public String getReChar() { return this.reChar; } public String getAddChar() { return this.addChar; } public Boolean getCutStyle() { return this.cutStyle; } public Boolean getAddStyle() { return this.addStyle; } public Boolean getCodeOnlyBy() { return this.codeOnlyBy; } public Boolean getCodeElement() { return this.codeElement; } }