package com.qianwen.smartman.modules.tool.vo; import io.swagger.annotations.ApiModelProperty; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/tool/vo/ToolQueryVO.class */ public class ToolQueryVO { @ApiModelProperty("刀具类型id") private Long toolCategoryId; @ApiModelProperty("刀具型号id") private Long toolModelId; @ApiModelProperty("使用状态(2.新增 1.已装刀 0.已卸刀)") private Integer useState; @ApiModelProperty("寿命状态(1.正常 2.警告 3.报警)") private Integer lifeState; @ApiModelProperty("机床刀位") private String toolPosition; @ApiModelProperty("刀具编号") private String code; @ApiModelProperty("工位编号") private String workstationCode; public void setToolCategoryId(final Long toolCategoryId) { this.toolCategoryId = toolCategoryId; } public void setToolModelId(final Long toolModelId) { this.toolModelId = toolModelId; } public void setUseState(final Integer useState) { this.useState = useState; } public void setLifeState(final Integer lifeState) { this.lifeState = lifeState; } public void setToolPosition(final String toolPosition) { this.toolPosition = toolPosition; } public void setCode(final String code) { this.code = code; } public void setWorkstationCode(final String workstationCode) { this.workstationCode = workstationCode; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof ToolQueryVO) { ToolQueryVO other = (ToolQueryVO) 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$useState = getUseState(); Object other$useState = other.getUseState(); if (this$useState == null) { if (other$useState != null) { return false; } } else if (!this$useState.equals(other$useState)) { return false; } Object this$lifeState = getLifeState(); Object other$lifeState = other.getLifeState(); if (this$lifeState == null) { if (other$lifeState != null) { return false; } } else if (!this$lifeState.equals(other$lifeState)) { return false; } Object this$toolPosition = getToolPosition(); Object other$toolPosition = other.getToolPosition(); if (this$toolPosition == null) { if (other$toolPosition != null) { return false; } } else if (!this$toolPosition.equals(other$toolPosition)) { 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$workstationCode = getWorkstationCode(); Object other$workstationCode = other.getWorkstationCode(); return this$workstationCode == null ? other$workstationCode == null : this$workstationCode.equals(other$workstationCode); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof ToolQueryVO; } 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 $useState = getUseState(); int result3 = (result2 * 59) + ($useState == null ? 43 : $useState.hashCode()); Object $lifeState = getLifeState(); int result4 = (result3 * 59) + ($lifeState == null ? 43 : $lifeState.hashCode()); Object $toolPosition = getToolPosition(); int result5 = (result4 * 59) + ($toolPosition == null ? 43 : $toolPosition.hashCode()); Object $code = getCode(); int result6 = (result5 * 59) + ($code == null ? 43 : $code.hashCode()); Object $workstationCode = getWorkstationCode(); return (result6 * 59) + ($workstationCode == null ? 43 : $workstationCode.hashCode()); } public String toString() { return "ToolQueryVO(toolCategoryId=" + getToolCategoryId() + ", toolModelId=" + getToolModelId() + ", useState=" + getUseState() + ", lifeState=" + getLifeState() + ", toolPosition=" + getToolPosition() + ", code=" + getCode() + ", workstationCode=" + getWorkstationCode() + ")"; } public Long getToolCategoryId() { return this.toolCategoryId; } public Long getToolModelId() { return this.toolModelId; } public Integer getUseState() { return this.useState; } public Integer getLifeState() { return this.lifeState; } public String getToolPosition() { return this.toolPosition; } public String getCode() { return this.code; } public String getWorkstationCode() { return this.workstationCode; } }