package com.qianwen.smartman.modules.tool.vo; import io.swagger.annotations.ApiModelProperty; import javax.validation.constraints.Size; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/tool/vo/ToolManageSaveVO.class */ public class ToolManageSaveVO { private static final long serialVersionUID = 4572928446901612337L; @ApiModelProperty("刀具类型id") private Long toolCategoryId; @ApiModelProperty("刀具类型") @Size(max = 45, message = "刀具类型长度不能超过45") private String toolCategory; @ApiModelProperty("刀具型号id") private Long toolModelId; @ApiModelProperty("刀具型号") @Size(max = 45, message = "刀具型号长度不能超过45") private String toolModel; @ApiModelProperty("工位id") private Long workstationId; @ApiModelProperty("刀具前缀编号") @Size(max = 45, message = "刀具前缀编号长度不能超过45") private String toolPrefixCode; @ApiModelProperty("寿命计数方式(1.按次数 2.按时间)") private Integer lifeCountMethod; @ApiModelProperty("刀具编号") private String code; @ApiModelProperty("初始寿命") private Integer initialLife; @ApiModelProperty("剩余寿命") private Integer remainLife; @ApiModelProperty("预警值") private Integer warningValue; @ApiModelProperty("参数1") private String parameter1; @ApiModelProperty("参数2") private String parameter2; @ApiModelProperty("参数3") private String parameter3; @ApiModelProperty("参数4") private String parameter4; @ApiModelProperty("参数5") private String parameter5; @ApiModelProperty("参数6") private String parameter6; @ApiModelProperty("参数7") private String parameter7; @ApiModelProperty("参数8") private String parameter8; @ApiModelProperty("参数9") private String parameter9; @ApiModelProperty("参数10") private String parameter10; public void setToolCategoryId(final Long toolCategoryId) { this.toolCategoryId = toolCategoryId; } public void setToolCategory(final String toolCategory) { this.toolCategory = toolCategory; } public void setToolModelId(final Long toolModelId) { this.toolModelId = toolModelId; } public void setToolModel(final String toolModel) { this.toolModel = toolModel; } public void setWorkstationId(final Long workstationId) { this.workstationId = workstationId; } public void setToolPrefixCode(final String toolPrefixCode) { this.toolPrefixCode = toolPrefixCode; } public void setLifeCountMethod(final Integer lifeCountMethod) { this.lifeCountMethod = lifeCountMethod; } public void setCode(final String code) { this.code = code; } public void setInitialLife(final Integer initialLife) { this.initialLife = initialLife; } public void setRemainLife(final Integer remainLife) { this.remainLife = remainLife; } public void setWarningValue(final Integer warningValue) { this.warningValue = warningValue; } public void setParameter1(final String parameter1) { this.parameter1 = parameter1; } public void setParameter2(final String parameter2) { this.parameter2 = parameter2; } public void setParameter3(final String parameter3) { this.parameter3 = parameter3; } public void setParameter4(final String parameter4) { this.parameter4 = parameter4; } public void setParameter5(final String parameter5) { this.parameter5 = parameter5; } public void setParameter6(final String parameter6) { this.parameter6 = parameter6; } public void setParameter7(final String parameter7) { this.parameter7 = parameter7; } public void setParameter8(final String parameter8) { this.parameter8 = parameter8; } public void setParameter9(final String parameter9) { this.parameter9 = parameter9; } public void setParameter10(final String parameter10) { this.parameter10 = parameter10; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof ToolManageSaveVO) { ToolManageSaveVO other = (ToolManageSaveVO) o; if (other.canEqual(this)) { Object this$toolCategoryId = getToolCategoryId(); Object other$toolCategoryId = other.getToolCategoryId(); if (this$toolCategoryId == null) { if (other$toolCategoryId != null) { return false; } } else if (!this$toolCategoryId.equals(other$toolCategoryId)) { return false; } Object this$toolModelId = getToolModelId(); Object other$toolModelId = other.getToolModelId(); if (this$toolModelId == null) { if (other$toolModelId != null) { return false; } } else if (!this$toolModelId.equals(other$toolModelId)) { return false; } Object this$workstationId = getWorkstationId(); Object other$workstationId = other.getWorkstationId(); if (this$workstationId == null) { if (other$workstationId != null) { return false; } } else if (!this$workstationId.equals(other$workstationId)) { return false; } Object this$lifeCountMethod = getLifeCountMethod(); Object other$lifeCountMethod = other.getLifeCountMethod(); if (this$lifeCountMethod == null) { if (other$lifeCountMethod != null) { return false; } } else if (!this$lifeCountMethod.equals(other$lifeCountMethod)) { return false; } Object this$initialLife = getInitialLife(); Object other$initialLife = other.getInitialLife(); if (this$initialLife == null) { if (other$initialLife != null) { return false; } } else if (!this$initialLife.equals(other$initialLife)) { return false; } Object this$remainLife = getRemainLife(); Object other$remainLife = other.getRemainLife(); if (this$remainLife == null) { if (other$remainLife != null) { return false; } } else if (!this$remainLife.equals(other$remainLife)) { return false; } Object this$warningValue = getWarningValue(); Object other$warningValue = other.getWarningValue(); if (this$warningValue == null) { if (other$warningValue != null) { return false; } } else if (!this$warningValue.equals(other$warningValue)) { return false; } Object this$toolCategory = getToolCategory(); Object other$toolCategory = other.getToolCategory(); if (this$toolCategory == null) { if (other$toolCategory != null) { return false; } } else if (!this$toolCategory.equals(other$toolCategory)) { return false; } Object this$toolModel = getToolModel(); Object other$toolModel = other.getToolModel(); if (this$toolModel == null) { if (other$toolModel != null) { return false; } } else if (!this$toolModel.equals(other$toolModel)) { return false; } Object this$toolPrefixCode = getToolPrefixCode(); Object other$toolPrefixCode = other.getToolPrefixCode(); if (this$toolPrefixCode == null) { if (other$toolPrefixCode != null) { return false; } } else if (!this$toolPrefixCode.equals(other$toolPrefixCode)) { return false; } Object this$code = getCode(); Object other$code = other.getCode(); if (this$code == null) { if (other$code != null) { return false; } } else if (!this$code.equals(other$code)) { return false; } Object this$parameter1 = getParameter1(); Object other$parameter1 = other.getParameter1(); if (this$parameter1 == null) { if (other$parameter1 != null) { return false; } } else if (!this$parameter1.equals(other$parameter1)) { return false; } Object this$parameter2 = getParameter2(); Object other$parameter2 = other.getParameter2(); if (this$parameter2 == null) { if (other$parameter2 != null) { return false; } } else if (!this$parameter2.equals(other$parameter2)) { return false; } Object this$parameter3 = getParameter3(); Object other$parameter3 = other.getParameter3(); if (this$parameter3 == null) { if (other$parameter3 != null) { return false; } } else if (!this$parameter3.equals(other$parameter3)) { return false; } Object this$parameter4 = getParameter4(); Object other$parameter4 = other.getParameter4(); if (this$parameter4 == null) { if (other$parameter4 != null) { return false; } } else if (!this$parameter4.equals(other$parameter4)) { return false; } Object this$parameter5 = getParameter5(); Object other$parameter5 = other.getParameter5(); if (this$parameter5 == null) { if (other$parameter5 != null) { return false; } } else if (!this$parameter5.equals(other$parameter5)) { return false; } Object this$parameter6 = getParameter6(); Object other$parameter6 = other.getParameter6(); if (this$parameter6 == null) { if (other$parameter6 != null) { return false; } } else if (!this$parameter6.equals(other$parameter6)) { return false; } Object this$parameter7 = getParameter7(); Object other$parameter7 = other.getParameter7(); if (this$parameter7 == null) { if (other$parameter7 != null) { return false; } } else if (!this$parameter7.equals(other$parameter7)) { return false; } Object this$parameter8 = getParameter8(); Object other$parameter8 = other.getParameter8(); if (this$parameter8 == null) { if (other$parameter8 != null) { return false; } } else if (!this$parameter8.equals(other$parameter8)) { return false; } Object this$parameter9 = getParameter9(); Object other$parameter9 = other.getParameter9(); if (this$parameter9 == null) { if (other$parameter9 != null) { return false; } } else if (!this$parameter9.equals(other$parameter9)) { return false; } Object this$parameter10 = getParameter10(); Object other$parameter10 = other.getParameter10(); return this$parameter10 == null ? other$parameter10 == null : this$parameter10.equals(other$parameter10); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof ToolManageSaveVO; } public int hashCode() { Object $toolCategoryId = getToolCategoryId(); int result = (1 * 59) + ($toolCategoryId == null ? 43 : $toolCategoryId.hashCode()); Object $toolModelId = getToolModelId(); int result2 = (result * 59) + ($toolModelId == null ? 43 : $toolModelId.hashCode()); Object $workstationId = getWorkstationId(); int result3 = (result2 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode()); Object $lifeCountMethod = getLifeCountMethod(); int result4 = (result3 * 59) + ($lifeCountMethod == null ? 43 : $lifeCountMethod.hashCode()); Object $initialLife = getInitialLife(); int result5 = (result4 * 59) + ($initialLife == null ? 43 : $initialLife.hashCode()); Object $remainLife = getRemainLife(); int result6 = (result5 * 59) + ($remainLife == null ? 43 : $remainLife.hashCode()); Object $warningValue = getWarningValue(); int result7 = (result6 * 59) + ($warningValue == null ? 43 : $warningValue.hashCode()); Object $toolCategory = getToolCategory(); int result8 = (result7 * 59) + ($toolCategory == null ? 43 : $toolCategory.hashCode()); Object $toolModel = getToolModel(); int result9 = (result8 * 59) + ($toolModel == null ? 43 : $toolModel.hashCode()); Object $toolPrefixCode = getToolPrefixCode(); int result10 = (result9 * 59) + ($toolPrefixCode == null ? 43 : $toolPrefixCode.hashCode()); Object $code = getCode(); int result11 = (result10 * 59) + ($code == null ? 43 : $code.hashCode()); Object $parameter1 = getParameter1(); int result12 = (result11 * 59) + ($parameter1 == null ? 43 : $parameter1.hashCode()); Object $parameter2 = getParameter2(); int result13 = (result12 * 59) + ($parameter2 == null ? 43 : $parameter2.hashCode()); Object $parameter3 = getParameter3(); int result14 = (result13 * 59) + ($parameter3 == null ? 43 : $parameter3.hashCode()); Object $parameter4 = getParameter4(); int result15 = (result14 * 59) + ($parameter4 == null ? 43 : $parameter4.hashCode()); Object $parameter5 = getParameter5(); int result16 = (result15 * 59) + ($parameter5 == null ? 43 : $parameter5.hashCode()); Object $parameter6 = getParameter6(); int result17 = (result16 * 59) + ($parameter6 == null ? 43 : $parameter6.hashCode()); Object $parameter7 = getParameter7(); int result18 = (result17 * 59) + ($parameter7 == null ? 43 : $parameter7.hashCode()); Object $parameter8 = getParameter8(); int result19 = (result18 * 59) + ($parameter8 == null ? 43 : $parameter8.hashCode()); Object $parameter9 = getParameter9(); int result20 = (result19 * 59) + ($parameter9 == null ? 43 : $parameter9.hashCode()); Object $parameter10 = getParameter10(); return (result20 * 59) + ($parameter10 == null ? 43 : $parameter10.hashCode()); } public String toString() { return "ToolManageSaveVO(toolCategoryId=" + getToolCategoryId() + ", toolCategory=" + getToolCategory() + ", toolModelId=" + getToolModelId() + ", toolModel=" + getToolModel() + ", workstationId=" + getWorkstationId() + ", toolPrefixCode=" + getToolPrefixCode() + ", lifeCountMethod=" + getLifeCountMethod() + ", code=" + getCode() + ", initialLife=" + getInitialLife() + ", remainLife=" + getRemainLife() + ", warningValue=" + getWarningValue() + ", parameter1=" + getParameter1() + ", parameter2=" + getParameter2() + ", parameter3=" + getParameter3() + ", parameter4=" + getParameter4() + ", parameter5=" + getParameter5() + ", parameter6=" + getParameter6() + ", parameter7=" + getParameter7() + ", parameter8=" + getParameter8() + ", parameter9=" + getParameter9() + ", parameter10=" + getParameter10() + ")"; } public Long getToolCategoryId() { return this.toolCategoryId; } public String getToolCategory() { return this.toolCategory; } public Long getToolModelId() { return this.toolModelId; } public String getToolModel() { return this.toolModel; } public Long getWorkstationId() { return this.workstationId; } public String getToolPrefixCode() { return this.toolPrefixCode; } public Integer getLifeCountMethod() { return this.lifeCountMethod; } public String getCode() { return this.code; } public Integer getInitialLife() { return this.initialLife; } public Integer getRemainLife() { return this.remainLife; } public Integer getWarningValue() { return this.warningValue; } public String getParameter1() { return this.parameter1; } public String getParameter2() { return this.parameter2; } public String getParameter3() { return this.parameter3; } public String getParameter4() { return this.parameter4; } public String getParameter5() { return this.parameter5; } public String getParameter6() { return this.parameter6; } public String getParameter7() { return this.parameter7; } public String getParameter8() { return this.parameter8; } public String getParameter9() { return this.parameter9; } public String getParameter10() { return this.parameter10; } }