package com.qianwen.smartman.modules.tool.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import javax.validation.constraints.Size;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/tool/vo/ToolManageVO.class */
|
public class ToolManageVO implements Serializable {
|
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("刀具前缀编号")
|
@Size(max = 45, message = "刀具前缀编号长度不能超过45")
|
private String toolPrefixCode;
|
@ApiModelProperty("寿命计数方式(1.按次数 2.按时间)")
|
private Integer lifeCountMethod;
|
@ApiModelProperty("初始寿命")
|
private Integer initialLife;
|
@ApiModelProperty("已用寿命")
|
private Integer usedLife;
|
@ApiModelProperty("剩余寿命")
|
private Integer remainLife;
|
@ApiModelProperty("预警值")
|
private Integer warningValue;
|
@ApiModelProperty("寿命状态(1.正常 2.警告 3.报警)")
|
private Integer lifeState;
|
@ApiModelProperty("使用状态(2.新增 1.已装刀 0.已卸刀)")
|
private Integer useState;
|
@ApiModelProperty("工位Id")
|
private Long workstationId;
|
@ApiModelProperty("工位编号")
|
@Size(max = 45, message = "工位编号长度不能超过45")
|
private String workstationCode;
|
@ApiModelProperty("工位名称")
|
@Size(max = 45, message = "工位名称长度不能超过45")
|
private String workstationName;
|
@ApiModelProperty("机床刀位")
|
private Integer toolPosition;
|
@ApiModelProperty("刀具编号")
|
private String code;
|
@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;
|
@ApiModelProperty("主键")
|
private Long id;
|
|
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 setToolPrefixCode(final String toolPrefixCode) {
|
this.toolPrefixCode = toolPrefixCode;
|
}
|
|
public void setLifeCountMethod(final Integer lifeCountMethod) {
|
this.lifeCountMethod = lifeCountMethod;
|
}
|
|
public void setInitialLife(final Integer initialLife) {
|
this.initialLife = initialLife;
|
}
|
|
public void setUsedLife(final Integer usedLife) {
|
this.usedLife = usedLife;
|
}
|
|
public void setRemainLife(final Integer remainLife) {
|
this.remainLife = remainLife;
|
}
|
|
public void setWarningValue(final Integer warningValue) {
|
this.warningValue = warningValue;
|
}
|
|
public void setLifeState(final Integer lifeState) {
|
this.lifeState = lifeState;
|
}
|
|
public void setUseState(final Integer useState) {
|
this.useState = useState;
|
}
|
|
public void setWorkstationId(final Long workstationId) {
|
this.workstationId = workstationId;
|
}
|
|
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 setCode(final String code) {
|
this.code = code;
|
}
|
|
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 void setId(final Long id) {
|
this.id = id;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof ToolManageVO) {
|
ToolManageVO other = (ToolManageVO) 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$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();
|
if (this$lifeState == null) {
|
if (other$lifeState != null) {
|
return false;
|
}
|
} else if (!this$lifeState.equals(other$lifeState)) {
|
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$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$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$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$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$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$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 ToolManageVO;
|
}
|
|
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 $lifeCountMethod = getLifeCountMethod();
|
int result3 = (result2 * 59) + ($lifeCountMethod == null ? 43 : $lifeCountMethod.hashCode());
|
Object $initialLife = getInitialLife();
|
int result4 = (result3 * 59) + ($initialLife == null ? 43 : $initialLife.hashCode());
|
Object $usedLife = getUsedLife();
|
int result5 = (result4 * 59) + ($usedLife == null ? 43 : $usedLife.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 $lifeState = getLifeState();
|
int result8 = (result7 * 59) + ($lifeState == null ? 43 : $lifeState.hashCode());
|
Object $useState = getUseState();
|
int result9 = (result8 * 59) + ($useState == null ? 43 : $useState.hashCode());
|
Object $workstationId = getWorkstationId();
|
int result10 = (result9 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
|
Object $toolPosition = getToolPosition();
|
int result11 = (result10 * 59) + ($toolPosition == null ? 43 : $toolPosition.hashCode());
|
Object $id = getId();
|
int result12 = (result11 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $toolCategory = getToolCategory();
|
int result13 = (result12 * 59) + ($toolCategory == null ? 43 : $toolCategory.hashCode());
|
Object $toolModel = getToolModel();
|
int result14 = (result13 * 59) + ($toolModel == null ? 43 : $toolModel.hashCode());
|
Object $toolPrefixCode = getToolPrefixCode();
|
int result15 = (result14 * 59) + ($toolPrefixCode == null ? 43 : $toolPrefixCode.hashCode());
|
Object $workstationCode = getWorkstationCode();
|
int result16 = (result15 * 59) + ($workstationCode == null ? 43 : $workstationCode.hashCode());
|
Object $workstationName = getWorkstationName();
|
int result17 = (result16 * 59) + ($workstationName == null ? 43 : $workstationName.hashCode());
|
Object $code = getCode();
|
int result18 = (result17 * 59) + ($code == null ? 43 : $code.hashCode());
|
Object $parameter1 = getParameter1();
|
int result19 = (result18 * 59) + ($parameter1 == null ? 43 : $parameter1.hashCode());
|
Object $parameter2 = getParameter2();
|
int result20 = (result19 * 59) + ($parameter2 == null ? 43 : $parameter2.hashCode());
|
Object $parameter3 = getParameter3();
|
int result21 = (result20 * 59) + ($parameter3 == null ? 43 : $parameter3.hashCode());
|
Object $parameter4 = getParameter4();
|
int result22 = (result21 * 59) + ($parameter4 == null ? 43 : $parameter4.hashCode());
|
Object $parameter5 = getParameter5();
|
int result23 = (result22 * 59) + ($parameter5 == null ? 43 : $parameter5.hashCode());
|
Object $parameter6 = getParameter6();
|
int result24 = (result23 * 59) + ($parameter6 == null ? 43 : $parameter6.hashCode());
|
Object $parameter7 = getParameter7();
|
int result25 = (result24 * 59) + ($parameter7 == null ? 43 : $parameter7.hashCode());
|
Object $parameter8 = getParameter8();
|
int result26 = (result25 * 59) + ($parameter8 == null ? 43 : $parameter8.hashCode());
|
Object $parameter9 = getParameter9();
|
int result27 = (result26 * 59) + ($parameter9 == null ? 43 : $parameter9.hashCode());
|
Object $parameter10 = getParameter10();
|
return (result27 * 59) + ($parameter10 == null ? 43 : $parameter10.hashCode());
|
}
|
|
public String toString() {
|
return "ToolManageVO(toolCategoryId=" + getToolCategoryId() + ", toolCategory=" + getToolCategory() + ", toolModelId=" + getToolModelId() + ", toolModel=" + getToolModel() + ", toolPrefixCode=" + getToolPrefixCode() + ", lifeCountMethod=" + getLifeCountMethod() + ", initialLife=" + getInitialLife() + ", usedLife=" + getUsedLife() + ", remainLife=" + getRemainLife() + ", warningValue=" + getWarningValue() + ", lifeState=" + getLifeState() + ", useState=" + getUseState() + ", workstationId=" + getWorkstationId() + ", workstationCode=" + getWorkstationCode() + ", workstationName=" + getWorkstationName() + ", toolPosition=" + getToolPosition() + ", code=" + getCode() + ", parameter1=" + getParameter1() + ", parameter2=" + getParameter2() + ", parameter3=" + getParameter3() + ", parameter4=" + getParameter4() + ", parameter5=" + getParameter5() + ", parameter6=" + getParameter6() + ", parameter7=" + getParameter7() + ", parameter8=" + getParameter8() + ", parameter9=" + getParameter9() + ", parameter10=" + getParameter10() + ", id=" + getId() + ")";
|
}
|
|
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 String getToolPrefixCode() {
|
return this.toolPrefixCode;
|
}
|
|
public Integer getLifeCountMethod() {
|
return this.lifeCountMethod;
|
}
|
|
public Integer getInitialLife() {
|
return this.initialLife;
|
}
|
|
public Integer getUsedLife() {
|
return this.usedLife;
|
}
|
|
public Integer getRemainLife() {
|
return this.remainLife;
|
}
|
|
public Integer getWarningValue() {
|
return this.warningValue;
|
}
|
|
public Integer getLifeState() {
|
return this.lifeState;
|
}
|
|
public Integer getUseState() {
|
return this.useState;
|
}
|
|
public Long getWorkstationId() {
|
return this.workstationId;
|
}
|
|
public String getWorkstationCode() {
|
return this.workstationCode;
|
}
|
|
public String getWorkstationName() {
|
return this.workstationName;
|
}
|
|
public Integer getToolPosition() {
|
return this.toolPosition;
|
}
|
|
public String getCode() {
|
return this.code;
|
}
|
|
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;
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
}
|