package com.qianwen.smartman.modules.system.dto; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import io.swagger.annotations.ApiModelProperty; import java.util.List; import com.qianwen.smartman.modules.system.entity.BasCodeRuleEntry; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/dto/BasCoderuleDTO.class */ public class BasCoderuleDTO { private static final long serialVersionUID = 1; @JsonSerialize(using = ToStringSerializer.class) @ApiModelProperty("主键") private Long id; @ApiModelProperty("规则名称") private String name; @ApiModelProperty("业务对象") private String billFormId; @ApiModelProperty("系统预设") private Boolean systemDefault; @ApiModelProperty("自动补号") private Boolean autoBillno; @ApiModelProperty("手动补号") private Boolean repairBillno; @ApiModelProperty("是否是固定的流水号位数") private Boolean constLength; @ApiModelProperty("编码规则描述") private String remark; @ApiModelProperty("编码规则明细") List entryList; private String preview; private String ruleFieldDictKey; public void setId(final Long id) { this.id = id; } public void setName(final String name) { this.name = name; } public void setBillFormId(final String billFormId) { this.billFormId = billFormId; } public void setSystemDefault(final Boolean systemDefault) { this.systemDefault = systemDefault; } public void setAutoBillno(final Boolean autoBillno) { this.autoBillno = autoBillno; } public void setRepairBillno(final Boolean repairBillno) { this.repairBillno = repairBillno; } public void setConstLength(final Boolean constLength) { this.constLength = constLength; } public void setRemark(final String remark) { this.remark = remark; } public void setEntryList(final List entryList) { this.entryList = entryList; } public void setPreview(final String preview) { this.preview = preview; } public void setRuleFieldDictKey(final String ruleFieldDictKey) { this.ruleFieldDictKey = ruleFieldDictKey; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof BasCoderuleDTO) { BasCoderuleDTO other = (BasCoderuleDTO) o; if (other.canEqual(this)) { Object this$id = getId(); Object other$id = other.getId(); if (this$id == null) { if (other$id != null) { return false; } } else if (!this$id.equals(other$id)) { return false; } Object this$systemDefault = getSystemDefault(); Object other$systemDefault = other.getSystemDefault(); if (this$systemDefault == null) { if (other$systemDefault != null) { return false; } } else if (!this$systemDefault.equals(other$systemDefault)) { return false; } Object this$autoBillno = getAutoBillno(); Object other$autoBillno = other.getAutoBillno(); if (this$autoBillno == null) { if (other$autoBillno != null) { return false; } } else if (!this$autoBillno.equals(other$autoBillno)) { return false; } Object this$repairBillno = getRepairBillno(); Object other$repairBillno = other.getRepairBillno(); if (this$repairBillno == null) { if (other$repairBillno != null) { return false; } } else if (!this$repairBillno.equals(other$repairBillno)) { return false; } Object this$constLength = getConstLength(); Object other$constLength = other.getConstLength(); if (this$constLength == null) { if (other$constLength != null) { return false; } } else if (!this$constLength.equals(other$constLength)) { return false; } Object this$name = getName(); Object other$name = other.getName(); if (this$name == null) { if (other$name != null) { return false; } } else if (!this$name.equals(other$name)) { return false; } Object this$billFormId = getBillFormId(); Object other$billFormId = other.getBillFormId(); if (this$billFormId == null) { if (other$billFormId != null) { return false; } } else if (!this$billFormId.equals(other$billFormId)) { return false; } Object this$remark = getRemark(); Object other$remark = other.getRemark(); if (this$remark == null) { if (other$remark != null) { return false; } } else if (!this$remark.equals(other$remark)) { return false; } Object this$entryList = getEntryList(); Object other$entryList = other.getEntryList(); if (this$entryList == null) { if (other$entryList != null) { return false; } } else if (!this$entryList.equals(other$entryList)) { return false; } Object this$preview = getPreview(); Object other$preview = other.getPreview(); if (this$preview == null) { if (other$preview != null) { return false; } } else if (!this$preview.equals(other$preview)) { return false; } Object this$ruleFieldDictKey = getRuleFieldDictKey(); Object other$ruleFieldDictKey = other.getRuleFieldDictKey(); return this$ruleFieldDictKey == null ? other$ruleFieldDictKey == null : this$ruleFieldDictKey.equals(other$ruleFieldDictKey); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof BasCoderuleDTO; } public int hashCode() { Object $id = getId(); int result = (1 * 59) + ($id == null ? 43 : $id.hashCode()); Object $systemDefault = getSystemDefault(); int result2 = (result * 59) + ($systemDefault == null ? 43 : $systemDefault.hashCode()); Object $autoBillno = getAutoBillno(); int result3 = (result2 * 59) + ($autoBillno == null ? 43 : $autoBillno.hashCode()); Object $repairBillno = getRepairBillno(); int result4 = (result3 * 59) + ($repairBillno == null ? 43 : $repairBillno.hashCode()); Object $constLength = getConstLength(); int result5 = (result4 * 59) + ($constLength == null ? 43 : $constLength.hashCode()); Object $name = getName(); int result6 = (result5 * 59) + ($name == null ? 43 : $name.hashCode()); Object $billFormId = getBillFormId(); int result7 = (result6 * 59) + ($billFormId == null ? 43 : $billFormId.hashCode()); Object $remark = getRemark(); int result8 = (result7 * 59) + ($remark == null ? 43 : $remark.hashCode()); Object $entryList = getEntryList(); int result9 = (result8 * 59) + ($entryList == null ? 43 : $entryList.hashCode()); Object $preview = getPreview(); int result10 = (result9 * 59) + ($preview == null ? 43 : $preview.hashCode()); Object $ruleFieldDictKey = getRuleFieldDictKey(); return (result10 * 59) + ($ruleFieldDictKey == null ? 43 : $ruleFieldDictKey.hashCode()); } public String toString() { return "BasCoderuleDTO(id=" + getId() + ", name=" + getName() + ", billFormId=" + getBillFormId() + ", systemDefault=" + getSystemDefault() + ", autoBillno=" + getAutoBillno() + ", repairBillno=" + getRepairBillno() + ", constLength=" + getConstLength() + ", remark=" + getRemark() + ", entryList=" + getEntryList() + ", preview=" + getPreview() + ", ruleFieldDictKey=" + getRuleFieldDictKey() + ")"; } public Long getId() { return this.id; } public String getName() { return this.name; } public String getBillFormId() { return this.billFormId; } public Boolean getSystemDefault() { return this.systemDefault; } public Boolean getAutoBillno() { return this.autoBillno; } public Boolean getRepairBillno() { return this.repairBillno; } public Boolean getConstLength() { return this.constLength; } public String getRemark() { return this.remark; } public List getEntryList() { return this.entryList; } public String getPreview() { return this.preview; } public String getRuleFieldDictKey() { return this.ruleFieldDictKey; } }