package com.qianwen.smartman.modules.tool.vo; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.Date; import javax.validation.constraints.Size; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/tool/vo/ToolParameterVO.class */ public class ToolParameterVO implements Serializable { private static final long serialVersionUID = -7399818834179641398L; @ApiModelProperty("参数名称") @Size(max = 45, message = "参数名称长度不能超过45") private String toolParameterName; @ApiModelProperty("参数单位") @Size(max = 45, message = "参数单位长度不能超过45") private String toolParameterUnit; @ApiModelProperty("参数编号") @Size(max = 45, message = "参数编号长度不能超过45") private String toolParameterCode; @ApiModelProperty("主键") private Long id; @ApiModelProperty("创建人") private Long createUser; @ApiModelProperty("创建人") private String createUserName; @ApiModelProperty("创建时间") private Date createTime; @ApiModelProperty("更新人") private Long updateUser; @ApiModelProperty("更新人名称") private String updateUserName; @ApiModelProperty("更新时间") private Date updateTime; @ApiModelProperty("是否修改 1-是 0-否") private Integer isUpdate; public void setToolParameterName(final String toolParameterName) { this.toolParameterName = toolParameterName; } public void setToolParameterUnit(final String toolParameterUnit) { this.toolParameterUnit = toolParameterUnit; } public void setToolParameterCode(final String toolParameterCode) { this.toolParameterCode = toolParameterCode; } public void setId(final Long id) { this.id = id; } public void setCreateUser(final Long createUser) { this.createUser = createUser; } public void setCreateUserName(final String createUserName) { this.createUserName = createUserName; } public void setCreateTime(final Date createTime) { this.createTime = createTime; } public void setUpdateUser(final Long updateUser) { this.updateUser = updateUser; } public void setUpdateUserName(final String updateUserName) { this.updateUserName = updateUserName; } public void setUpdateTime(final Date updateTime) { this.updateTime = updateTime; } public void setIsUpdate(final Integer isUpdate) { this.isUpdate = isUpdate; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof ToolParameterVO) { ToolParameterVO other = (ToolParameterVO) 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$createUser = getCreateUser(); Object other$createUser = other.getCreateUser(); if (this$createUser == null) { if (other$createUser != null) { return false; } } else if (!this$createUser.equals(other$createUser)) { return false; } Object this$updateUser = getUpdateUser(); Object other$updateUser = other.getUpdateUser(); if (this$updateUser == null) { if (other$updateUser != null) { return false; } } else if (!this$updateUser.equals(other$updateUser)) { return false; } Object this$isUpdate = getIsUpdate(); Object other$isUpdate = other.getIsUpdate(); if (this$isUpdate == null) { if (other$isUpdate != null) { return false; } } else if (!this$isUpdate.equals(other$isUpdate)) { return false; } Object this$toolParameterName = getToolParameterName(); Object other$toolParameterName = other.getToolParameterName(); if (this$toolParameterName == null) { if (other$toolParameterName != null) { return false; } } else if (!this$toolParameterName.equals(other$toolParameterName)) { return false; } Object this$toolParameterUnit = getToolParameterUnit(); Object other$toolParameterUnit = other.getToolParameterUnit(); if (this$toolParameterUnit == null) { if (other$toolParameterUnit != null) { return false; } } else if (!this$toolParameterUnit.equals(other$toolParameterUnit)) { return false; } Object this$toolParameterCode = getToolParameterCode(); Object other$toolParameterCode = other.getToolParameterCode(); if (this$toolParameterCode == null) { if (other$toolParameterCode != null) { return false; } } else if (!this$toolParameterCode.equals(other$toolParameterCode)) { return false; } Object this$createUserName = getCreateUserName(); Object other$createUserName = other.getCreateUserName(); if (this$createUserName == null) { if (other$createUserName != null) { return false; } } else if (!this$createUserName.equals(other$createUserName)) { return false; } Object this$createTime = getCreateTime(); Object other$createTime = other.getCreateTime(); if (this$createTime == null) { if (other$createTime != null) { return false; } } else if (!this$createTime.equals(other$createTime)) { return false; } Object this$updateUserName = getUpdateUserName(); Object other$updateUserName = other.getUpdateUserName(); if (this$updateUserName == null) { if (other$updateUserName != null) { return false; } } else if (!this$updateUserName.equals(other$updateUserName)) { return false; } Object this$updateTime = getUpdateTime(); Object other$updateTime = other.getUpdateTime(); return this$updateTime == null ? other$updateTime == null : this$updateTime.equals(other$updateTime); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof ToolParameterVO; } public int hashCode() { Object $id = getId(); int result = (1 * 59) + ($id == null ? 43 : $id.hashCode()); Object $createUser = getCreateUser(); int result2 = (result * 59) + ($createUser == null ? 43 : $createUser.hashCode()); Object $updateUser = getUpdateUser(); int result3 = (result2 * 59) + ($updateUser == null ? 43 : $updateUser.hashCode()); Object $isUpdate = getIsUpdate(); int result4 = (result3 * 59) + ($isUpdate == null ? 43 : $isUpdate.hashCode()); Object $toolParameterName = getToolParameterName(); int result5 = (result4 * 59) + ($toolParameterName == null ? 43 : $toolParameterName.hashCode()); Object $toolParameterUnit = getToolParameterUnit(); int result6 = (result5 * 59) + ($toolParameterUnit == null ? 43 : $toolParameterUnit.hashCode()); Object $toolParameterCode = getToolParameterCode(); int result7 = (result6 * 59) + ($toolParameterCode == null ? 43 : $toolParameterCode.hashCode()); Object $createUserName = getCreateUserName(); int result8 = (result7 * 59) + ($createUserName == null ? 43 : $createUserName.hashCode()); Object $createTime = getCreateTime(); int result9 = (result8 * 59) + ($createTime == null ? 43 : $createTime.hashCode()); Object $updateUserName = getUpdateUserName(); int result10 = (result9 * 59) + ($updateUserName == null ? 43 : $updateUserName.hashCode()); Object $updateTime = getUpdateTime(); return (result10 * 59) + ($updateTime == null ? 43 : $updateTime.hashCode()); } public String toString() { return "ToolParameterVO(toolParameterName=" + getToolParameterName() + ", toolParameterUnit=" + getToolParameterUnit() + ", toolParameterCode=" + getToolParameterCode() + ", id=" + getId() + ", createUser=" + getCreateUser() + ", createUserName=" + getCreateUserName() + ", createTime=" + getCreateTime() + ", updateUser=" + getUpdateUser() + ", updateUserName=" + getUpdateUserName() + ", updateTime=" + getUpdateTime() + ", isUpdate=" + getIsUpdate() + ")"; } public String getToolParameterName() { return this.toolParameterName; } public String getToolParameterUnit() { return this.toolParameterUnit; } public String getToolParameterCode() { return this.toolParameterCode; } public Long getId() { return this.id; } public Long getCreateUser() { return this.createUser; } public String getCreateUserName() { return this.createUserName; } public Date getCreateTime() { return this.createTime; } public Long getUpdateUser() { return this.updateUser; } public String getUpdateUserName() { return this.updateUserName; } public Date getUpdateTime() { return this.updateTime; } public Integer getIsUpdate() { return this.isUpdate; } }