package com.qianwen.smartman.modules.tool.excel; import com.alibaba.excel.annotation.ExcelIgnore; import com.alibaba.excel.annotation.ExcelProperty; import java.io.Serializable; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/tool/excel/ToolManageExcel.class */ public class ToolManageExcel implements Serializable { @ExcelProperty({"刀具状态报表", "", "刀具编号"}) private String toolCode; @ExcelProperty({"刀具状态报表", "", "刀具类型"}) private String toolCategory; @ExcelProperty({"刀具状态报表", "", "使用状态"}) private String useState; @ExcelProperty({"刀具状态报表", "", "刀具型号"}) private String toolModel; @ExcelProperty({"刀具状态报表", "", "工位编号"}) private String workstationCode; @ExcelProperty({"刀具状态报表", "", "工位名称"}) private String workstationName; @ExcelProperty({"刀具状态报表", "", "刀位"}) private Integer toolPosition; @ExcelProperty({"刀具状态报表", "", "寿命计数方式"}) private String lifeCountMethod; @ExcelProperty({"刀具状态报表", "", "初始寿命"}) private String initialLife; @ExcelProperty({"刀具状态报表", "", "已用寿命"}) private String usedLife; @ExcelProperty({"刀具状态报表", "", "剩余寿命"}) private String remainLife; @ExcelProperty({"刀具状态报表", "", "预警值"}) private String warningValue; @ExcelIgnore private String lifeState; public void setToolCode(final String toolCode) { this.toolCode = toolCode; } public void setToolCategory(final String toolCategory) { this.toolCategory = toolCategory; } public void setUseState(final String useState) { this.useState = useState; } public void setToolModel(final String toolModel) { this.toolModel = toolModel; } public void setWorkstationCode(final String workstationCode) { this.workstationCode = workstationCode; } public void setWorkstationName(final String workstationName) { this.workstationName = workstationName; } public void setToolPosition(final Integer toolPosition) { this.toolPosition = toolPosition; } public void setLifeCountMethod(final String lifeCountMethod) { this.lifeCountMethod = lifeCountMethod; } public void setInitialLife(final String initialLife) { this.initialLife = initialLife; } public void setUsedLife(final String usedLife) { this.usedLife = usedLife; } public void setRemainLife(final String remainLife) { this.remainLife = remainLife; } public void setWarningValue(final String warningValue) { this.warningValue = warningValue; } public void setLifeState(final String lifeState) { this.lifeState = lifeState; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof ToolManageExcel) { ToolManageExcel other = (ToolManageExcel) o; if (other.canEqual(this)) { 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$toolCode = getToolCode(); Object other$toolCode = other.getToolCode(); if (this$toolCode == null) { if (other$toolCode != null) { return false; } } else if (!this$toolCode.equals(other$toolCode)) { 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$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$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$workstationCode = getWorkstationCode(); Object other$workstationCode = other.getWorkstationCode(); if (this$workstationCode == null) { if (other$workstationCode != null) { return false; } } else if (!this$workstationCode.equals(other$workstationCode)) { return false; } Object this$workstationName = getWorkstationName(); Object other$workstationName = other.getWorkstationName(); if (this$workstationName == null) { if (other$workstationName != null) { return false; } } else if (!this$workstationName.equals(other$workstationName)) { 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$usedLife = getUsedLife(); Object other$usedLife = other.getUsedLife(); if (this$usedLife == null) { if (other$usedLife != null) { return false; } } else if (!this$usedLife.equals(other$usedLife)) { 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$lifeState = getLifeState(); Object other$lifeState = other.getLifeState(); return this$lifeState == null ? other$lifeState == null : this$lifeState.equals(other$lifeState); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof ToolManageExcel; } public int hashCode() { Object $toolPosition = getToolPosition(); int result = (1 * 59) + ($toolPosition == null ? 43 : $toolPosition.hashCode()); Object $toolCode = getToolCode(); int result2 = (result * 59) + ($toolCode == null ? 43 : $toolCode.hashCode()); Object $toolCategory = getToolCategory(); int result3 = (result2 * 59) + ($toolCategory == null ? 43 : $toolCategory.hashCode()); Object $useState = getUseState(); int result4 = (result3 * 59) + ($useState == null ? 43 : $useState.hashCode()); Object $toolModel = getToolModel(); int result5 = (result4 * 59) + ($toolModel == null ? 43 : $toolModel.hashCode()); Object $workstationCode = getWorkstationCode(); int result6 = (result5 * 59) + ($workstationCode == null ? 43 : $workstationCode.hashCode()); Object $workstationName = getWorkstationName(); int result7 = (result6 * 59) + ($workstationName == null ? 43 : $workstationName.hashCode()); Object $lifeCountMethod = getLifeCountMethod(); int result8 = (result7 * 59) + ($lifeCountMethod == null ? 43 : $lifeCountMethod.hashCode()); Object $initialLife = getInitialLife(); int result9 = (result8 * 59) + ($initialLife == null ? 43 : $initialLife.hashCode()); Object $usedLife = getUsedLife(); int result10 = (result9 * 59) + ($usedLife == null ? 43 : $usedLife.hashCode()); Object $remainLife = getRemainLife(); int result11 = (result10 * 59) + ($remainLife == null ? 43 : $remainLife.hashCode()); Object $warningValue = getWarningValue(); int result12 = (result11 * 59) + ($warningValue == null ? 43 : $warningValue.hashCode()); Object $lifeState = getLifeState(); return (result12 * 59) + ($lifeState == null ? 43 : $lifeState.hashCode()); } public String toString() { return "ToolManageExcel(toolCode=" + getToolCode() + ", toolCategory=" + getToolCategory() + ", useState=" + getUseState() + ", toolModel=" + getToolModel() + ", workstationCode=" + getWorkstationCode() + ", workstationName=" + getWorkstationName() + ", toolPosition=" + getToolPosition() + ", lifeCountMethod=" + getLifeCountMethod() + ", initialLife=" + getInitialLife() + ", usedLife=" + getUsedLife() + ", remainLife=" + getRemainLife() + ", warningValue=" + getWarningValue() + ", lifeState=" + getLifeState() + ")"; } public ToolManageExcel(final String toolCode, final String toolCategory, final String useState, final String toolModel, final String workstationCode, final String workstationName, final Integer toolPosition, final String lifeCountMethod, final String initialLife, final String usedLife, final String remainLife, final String warningValue, final String lifeState) { this.toolCode = toolCode; this.toolCategory = toolCategory; this.useState = useState; this.toolModel = toolModel; this.workstationCode = workstationCode; this.workstationName = workstationName; this.toolPosition = toolPosition; this.lifeCountMethod = lifeCountMethod; this.initialLife = initialLife; this.usedLife = usedLife; this.remainLife = remainLife; this.warningValue = warningValue; this.lifeState = lifeState; } /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/tool/excel/ToolManageExcel$ToolManageExcelBuilder.class */ public static class ToolManageExcelBuilder { private String toolCode; private String toolCategory; private String useState; private String toolModel; private String workstationCode; private String workstationName; private Integer toolPosition; private String lifeCountMethod; private String initialLife; private String usedLife; private String remainLife; private String warningValue; private String lifeState; ToolManageExcelBuilder() { } public ToolManageExcelBuilder toolCode(final String toolCode) { this.toolCode = toolCode; return this; } public ToolManageExcelBuilder toolCategory(final String toolCategory) { this.toolCategory = toolCategory; return this; } public ToolManageExcelBuilder useState(final String useState) { this.useState = useState; return this; } public ToolManageExcelBuilder toolModel(final String toolModel) { this.toolModel = toolModel; return this; } public ToolManageExcelBuilder workstationCode(final String workstationCode) { this.workstationCode = workstationCode; return this; } public ToolManageExcelBuilder workstationName(final String workstationName) { this.workstationName = workstationName; return this; } public ToolManageExcelBuilder toolPosition(final Integer toolPosition) { this.toolPosition = toolPosition; return this; } public ToolManageExcelBuilder lifeCountMethod(final String lifeCountMethod) { this.lifeCountMethod = lifeCountMethod; return this; } public ToolManageExcelBuilder initialLife(final String initialLife) { this.initialLife = initialLife; return this; } public ToolManageExcelBuilder usedLife(final String usedLife) { this.usedLife = usedLife; return this; } public ToolManageExcelBuilder remainLife(final String remainLife) { this.remainLife = remainLife; return this; } public ToolManageExcelBuilder warningValue(final String warningValue) { this.warningValue = warningValue; return this; } public ToolManageExcelBuilder lifeState(final String lifeState) { this.lifeState = lifeState; return this; } public ToolManageExcel build() { return new ToolManageExcel(this.toolCode, this.toolCategory, this.useState, this.toolModel, this.workstationCode, this.workstationName, this.toolPosition, this.lifeCountMethod, this.initialLife, this.usedLife, this.remainLife, this.warningValue, this.lifeState); } public String toString() { return "ToolManageExcel.ToolManageExcelBuilder(toolCode=" + this.toolCode + ", toolCategory=" + this.toolCategory + ", useState=" + this.useState + ", toolModel=" + this.toolModel + ", workstationCode=" + this.workstationCode + ", workstationName=" + this.workstationName + ", toolPosition=" + this.toolPosition + ", lifeCountMethod=" + this.lifeCountMethod + ", initialLife=" + this.initialLife + ", usedLife=" + this.usedLife + ", remainLife=" + this.remainLife + ", warningValue=" + this.warningValue + ", lifeState=" + this.lifeState + ")"; } } public ToolManageExcel() { } public static ToolManageExcelBuilder builder() { return new ToolManageExcelBuilder(); } public String getToolCode() { return this.toolCode; } public String getToolCategory() { return this.toolCategory; } public String getUseState() { return this.useState; } public String getToolModel() { return this.toolModel; } public String getWorkstationCode() { return this.workstationCode; } public String getWorkstationName() { return this.workstationName; } public Integer getToolPosition() { return this.toolPosition; } public String getLifeCountMethod() { return this.lifeCountMethod; } public String getInitialLife() { return this.initialLife; } public String getUsedLife() { return this.usedLife; } public String getRemainLife() { return this.remainLife; } public String getWarningValue() { return this.warningValue; } public String getLifeState() { return this.lifeState; } }