package com.qianwen.smartman.modules.tpm.vo; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.util.Date; @ApiModel(description = "备品工况") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/tpm/vo/DeviceMaterialRecordVO.class */ public class DeviceMaterialRecordVO { @ApiModelProperty("保养记录Id/维修单Id") private Long recordId; @ApiModelProperty("保养/维修单号") private String recordCode; @ApiModelProperty("保养记录Id/维修单Id") private Long materialId; @ApiModelProperty("物料编码") private String materialCode; @ApiModelProperty("物料名称") private String materialName; @ApiModelProperty("数量") private Integer recordNumber; @ApiModelProperty("使用人员姓名") private String userName; @ApiModelProperty("使用时间(维修单或保养记录的结束时间)") private Date usageTime; public void setRecordId(final Long recordId) { this.recordId = recordId; } public void setRecordCode(final String recordCode) { this.recordCode = recordCode; } public void setMaterialId(final Long materialId) { this.materialId = materialId; } public void setMaterialCode(final String materialCode) { this.materialCode = materialCode; } public void setMaterialName(final String materialName) { this.materialName = materialName; } public void setRecordNumber(final Integer recordNumber) { this.recordNumber = recordNumber; } public void setUserName(final String userName) { this.userName = userName; } public void setUsageTime(final Date usageTime) { this.usageTime = usageTime; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof DeviceMaterialRecordVO) { DeviceMaterialRecordVO other = (DeviceMaterialRecordVO) o; if (other.canEqual(this)) { Object this$recordId = getRecordId(); Object other$recordId = other.getRecordId(); if (this$recordId == null) { if (other$recordId != null) { return false; } } else if (!this$recordId.equals(other$recordId)) { return false; } Object this$materialId = getMaterialId(); Object other$materialId = other.getMaterialId(); if (this$materialId == null) { if (other$materialId != null) { return false; } } else if (!this$materialId.equals(other$materialId)) { return false; } Object this$recordNumber = getRecordNumber(); Object other$recordNumber = other.getRecordNumber(); if (this$recordNumber == null) { if (other$recordNumber != null) { return false; } } else if (!this$recordNumber.equals(other$recordNumber)) { return false; } Object this$recordCode = getRecordCode(); Object other$recordCode = other.getRecordCode(); if (this$recordCode == null) { if (other$recordCode != null) { return false; } } else if (!this$recordCode.equals(other$recordCode)) { return false; } Object this$materialCode = getMaterialCode(); Object other$materialCode = other.getMaterialCode(); if (this$materialCode == null) { if (other$materialCode != null) { return false; } } else if (!this$materialCode.equals(other$materialCode)) { return false; } Object this$materialName = getMaterialName(); Object other$materialName = other.getMaterialName(); if (this$materialName == null) { if (other$materialName != null) { return false; } } else if (!this$materialName.equals(other$materialName)) { return false; } Object this$userName = getUserName(); Object other$userName = other.getUserName(); if (this$userName == null) { if (other$userName != null) { return false; } } else if (!this$userName.equals(other$userName)) { return false; } Object this$usageTime = getUsageTime(); Object other$usageTime = other.getUsageTime(); return this$usageTime == null ? other$usageTime == null : this$usageTime.equals(other$usageTime); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof DeviceMaterialRecordVO; } public int hashCode() { Object $recordId = getRecordId(); int result = (1 * 59) + ($recordId == null ? 43 : $recordId.hashCode()); Object $materialId = getMaterialId(); int result2 = (result * 59) + ($materialId == null ? 43 : $materialId.hashCode()); Object $recordNumber = getRecordNumber(); int result3 = (result2 * 59) + ($recordNumber == null ? 43 : $recordNumber.hashCode()); Object $recordCode = getRecordCode(); int result4 = (result3 * 59) + ($recordCode == null ? 43 : $recordCode.hashCode()); Object $materialCode = getMaterialCode(); int result5 = (result4 * 59) + ($materialCode == null ? 43 : $materialCode.hashCode()); Object $materialName = getMaterialName(); int result6 = (result5 * 59) + ($materialName == null ? 43 : $materialName.hashCode()); Object $userName = getUserName(); int result7 = (result6 * 59) + ($userName == null ? 43 : $userName.hashCode()); Object $usageTime = getUsageTime(); return (result7 * 59) + ($usageTime == null ? 43 : $usageTime.hashCode()); } public String toString() { return "DeviceMaterialRecordVO(recordId=" + getRecordId() + ", recordCode=" + getRecordCode() + ", materialId=" + getMaterialId() + ", materialCode=" + getMaterialCode() + ", materialName=" + getMaterialName() + ", recordNumber=" + getRecordNumber() + ", userName=" + getUserName() + ", usageTime=" + getUsageTime() + ")"; } public Long getRecordId() { return this.recordId; } public String getRecordCode() { return this.recordCode; } public Long getMaterialId() { return this.materialId; } public String getMaterialCode() { return this.materialCode; } public String getMaterialName() { return this.materialName; } public Integer getRecordNumber() { return this.recordNumber; } public String getUserName() { return this.userName; } public Date getUsageTime() { return this.usageTime; } }