package com.qianwen.smartman.modules.tpm.vo; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.Date; import java.util.List; import javax.validation.constraints.NotNull; import com.qianwen.smartman.modules.cps.vo.RepairRecordMaterialAddVO; import com.qianwen.smartman.modules.tpm.dto.RepairRecordFileAddDTO; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/tpm/vo/RepairRecordUpdateVO.class */ public class RepairRecordUpdateVO implements Serializable { @NotNull(message = "维修记录Id不能为空") @ApiModelProperty(value = "维修记录Id", dataType = "java.lang.String") private Long id; @ApiModelProperty("故障码") private String errorCode; @ApiModelProperty("维修开始时间") private Date repairStartTime; @ApiModelProperty("维修结束时间") private Date repairEndTime; @ApiModelProperty("维修用时 单位:分钟") private Integer repairTime; @ApiModelProperty(value = "维修负责人id", dataType = "java.lang.String") private Long repairUserId; @ApiModelProperty("维修负责人名称") private String repairUserName; @ApiModelProperty("故障分析") private String malfunctionDetails; @ApiModelProperty("发生时间 (临时维修)") private Date malfunctionTime; @ApiModelProperty("影响生产:是 1 , 否 2(临时维修)") private Integer isAffect; @ApiModelProperty("维修记录关联附件") List recordFileList; @ApiModelProperty("维修记录关联的备品备件") List materialVOList; @ApiModelProperty(value = "维修申请id", dataType = "java.lang.String") private Long repairApplyId; @ApiModelProperty("维修记录类型: 临时维修 1 例行维修 2") private Integer recordType; @ApiModelProperty(value = "故障类型id", dataType = "java.lang.String") private Long malfunctionId; @ApiModelProperty("故障类型编码") private String malfunctionCode; @ApiModelProperty("故障类型") private String malfunctionName; @ApiModelProperty("紧急度") private Integer urgency; @ApiModelProperty(value = "实际故障类型id", dataType = "java.lang.String") private Long realMalfunctionId; @ApiModelProperty("实际故障类型编码") private String realMalfunctionCode; @ApiModelProperty("实际故障类型") private String realMalfunctionName; @ApiModelProperty("备注") private String remark; @ApiModelProperty("维修性质(1:厂内;2:委外)") private Integer repairNature; public RepairRecordUpdateVO setId(final Long id) { this.id = id; return this; } public RepairRecordUpdateVO setErrorCode(final String errorCode) { this.errorCode = errorCode; return this; } public RepairRecordUpdateVO setRepairStartTime(final Date repairStartTime) { this.repairStartTime = repairStartTime; return this; } public RepairRecordUpdateVO setRepairEndTime(final Date repairEndTime) { this.repairEndTime = repairEndTime; return this; } public RepairRecordUpdateVO setRepairTime(final Integer repairTime) { this.repairTime = repairTime; return this; } public RepairRecordUpdateVO setRepairUserId(final Long repairUserId) { this.repairUserId = repairUserId; return this; } public RepairRecordUpdateVO setRepairUserName(final String repairUserName) { this.repairUserName = repairUserName; return this; } public RepairRecordUpdateVO setMalfunctionDetails(final String malfunctionDetails) { this.malfunctionDetails = malfunctionDetails; return this; } public RepairRecordUpdateVO setMalfunctionTime(final Date malfunctionTime) { this.malfunctionTime = malfunctionTime; return this; } public RepairRecordUpdateVO setIsAffect(final Integer isAffect) { this.isAffect = isAffect; return this; } public RepairRecordUpdateVO setRecordFileList(final List recordFileList) { this.recordFileList = recordFileList; return this; } public RepairRecordUpdateVO setMaterialVOList(final List materialVOList) { this.materialVOList = materialVOList; return this; } public RepairRecordUpdateVO setRepairApplyId(final Long repairApplyId) { this.repairApplyId = repairApplyId; return this; } public RepairRecordUpdateVO setRecordType(final Integer recordType) { this.recordType = recordType; return this; } public RepairRecordUpdateVO setMalfunctionId(final Long malfunctionId) { this.malfunctionId = malfunctionId; return this; } public RepairRecordUpdateVO setMalfunctionCode(final String malfunctionCode) { this.malfunctionCode = malfunctionCode; return this; } public RepairRecordUpdateVO setMalfunctionName(final String malfunctionName) { this.malfunctionName = malfunctionName; return this; } public RepairRecordUpdateVO setUrgency(final Integer urgency) { this.urgency = urgency; return this; } public RepairRecordUpdateVO setRealMalfunctionId(final Long realMalfunctionId) { this.realMalfunctionId = realMalfunctionId; return this; } public RepairRecordUpdateVO setRealMalfunctionCode(final String realMalfunctionCode) { this.realMalfunctionCode = realMalfunctionCode; return this; } public RepairRecordUpdateVO setRealMalfunctionName(final String realMalfunctionName) { this.realMalfunctionName = realMalfunctionName; return this; } public RepairRecordUpdateVO setRemark(final String remark) { this.remark = remark; return this; } public RepairRecordUpdateVO setRepairNature(final Integer repairNature) { this.repairNature = repairNature; return this; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof RepairRecordUpdateVO) { RepairRecordUpdateVO other = (RepairRecordUpdateVO) 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$repairTime = getRepairTime(); Object other$repairTime = other.getRepairTime(); if (this$repairTime == null) { if (other$repairTime != null) { return false; } } else if (!this$repairTime.equals(other$repairTime)) { return false; } Object this$repairUserId = getRepairUserId(); Object other$repairUserId = other.getRepairUserId(); if (this$repairUserId == null) { if (other$repairUserId != null) { return false; } } else if (!this$repairUserId.equals(other$repairUserId)) { return false; } Object this$isAffect = getIsAffect(); Object other$isAffect = other.getIsAffect(); if (this$isAffect == null) { if (other$isAffect != null) { return false; } } else if (!this$isAffect.equals(other$isAffect)) { return false; } Object this$repairApplyId = getRepairApplyId(); Object other$repairApplyId = other.getRepairApplyId(); if (this$repairApplyId == null) { if (other$repairApplyId != null) { return false; } } else if (!this$repairApplyId.equals(other$repairApplyId)) { return false; } Object this$recordType = getRecordType(); Object other$recordType = other.getRecordType(); if (this$recordType == null) { if (other$recordType != null) { return false; } } else if (!this$recordType.equals(other$recordType)) { return false; } Object this$malfunctionId = getMalfunctionId(); Object other$malfunctionId = other.getMalfunctionId(); if (this$malfunctionId == null) { if (other$malfunctionId != null) { return false; } } else if (!this$malfunctionId.equals(other$malfunctionId)) { return false; } Object this$urgency = getUrgency(); Object other$urgency = other.getUrgency(); if (this$urgency == null) { if (other$urgency != null) { return false; } } else if (!this$urgency.equals(other$urgency)) { return false; } Object this$realMalfunctionId = getRealMalfunctionId(); Object other$realMalfunctionId = other.getRealMalfunctionId(); if (this$realMalfunctionId == null) { if (other$realMalfunctionId != null) { return false; } } else if (!this$realMalfunctionId.equals(other$realMalfunctionId)) { return false; } Object this$repairNature = getRepairNature(); Object other$repairNature = other.getRepairNature(); if (this$repairNature == null) { if (other$repairNature != null) { return false; } } else if (!this$repairNature.equals(other$repairNature)) { return false; } Object this$errorCode = getErrorCode(); Object other$errorCode = other.getErrorCode(); if (this$errorCode == null) { if (other$errorCode != null) { return false; } } else if (!this$errorCode.equals(other$errorCode)) { return false; } Object this$repairStartTime = getRepairStartTime(); Object other$repairStartTime = other.getRepairStartTime(); if (this$repairStartTime == null) { if (other$repairStartTime != null) { return false; } } else if (!this$repairStartTime.equals(other$repairStartTime)) { return false; } Object this$repairEndTime = getRepairEndTime(); Object other$repairEndTime = other.getRepairEndTime(); if (this$repairEndTime == null) { if (other$repairEndTime != null) { return false; } } else if (!this$repairEndTime.equals(other$repairEndTime)) { return false; } Object this$repairUserName = getRepairUserName(); Object other$repairUserName = other.getRepairUserName(); if (this$repairUserName == null) { if (other$repairUserName != null) { return false; } } else if (!this$repairUserName.equals(other$repairUserName)) { return false; } Object this$malfunctionDetails = getMalfunctionDetails(); Object other$malfunctionDetails = other.getMalfunctionDetails(); if (this$malfunctionDetails == null) { if (other$malfunctionDetails != null) { return false; } } else if (!this$malfunctionDetails.equals(other$malfunctionDetails)) { return false; } Object this$malfunctionTime = getMalfunctionTime(); Object other$malfunctionTime = other.getMalfunctionTime(); if (this$malfunctionTime == null) { if (other$malfunctionTime != null) { return false; } } else if (!this$malfunctionTime.equals(other$malfunctionTime)) { return false; } Object this$recordFileList = getRecordFileList(); Object other$recordFileList = other.getRecordFileList(); if (this$recordFileList == null) { if (other$recordFileList != null) { return false; } } else if (!this$recordFileList.equals(other$recordFileList)) { return false; } Object this$materialVOList = getMaterialVOList(); Object other$materialVOList = other.getMaterialVOList(); if (this$materialVOList == null) { if (other$materialVOList != null) { return false; } } else if (!this$materialVOList.equals(other$materialVOList)) { return false; } Object this$malfunctionCode = getMalfunctionCode(); Object other$malfunctionCode = other.getMalfunctionCode(); if (this$malfunctionCode == null) { if (other$malfunctionCode != null) { return false; } } else if (!this$malfunctionCode.equals(other$malfunctionCode)) { return false; } Object this$malfunctionName = getMalfunctionName(); Object other$malfunctionName = other.getMalfunctionName(); if (this$malfunctionName == null) { if (other$malfunctionName != null) { return false; } } else if (!this$malfunctionName.equals(other$malfunctionName)) { return false; } Object this$realMalfunctionCode = getRealMalfunctionCode(); Object other$realMalfunctionCode = other.getRealMalfunctionCode(); if (this$realMalfunctionCode == null) { if (other$realMalfunctionCode != null) { return false; } } else if (!this$realMalfunctionCode.equals(other$realMalfunctionCode)) { return false; } Object this$realMalfunctionName = getRealMalfunctionName(); Object other$realMalfunctionName = other.getRealMalfunctionName(); if (this$realMalfunctionName == null) { if (other$realMalfunctionName != null) { return false; } } else if (!this$realMalfunctionName.equals(other$realMalfunctionName)) { return false; } Object this$remark = getRemark(); Object other$remark = other.getRemark(); return this$remark == null ? other$remark == null : this$remark.equals(other$remark); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof RepairRecordUpdateVO; } public int hashCode() { Object $id = getId(); int result = (1 * 59) + ($id == null ? 43 : $id.hashCode()); Object $repairTime = getRepairTime(); int result2 = (result * 59) + ($repairTime == null ? 43 : $repairTime.hashCode()); Object $repairUserId = getRepairUserId(); int result3 = (result2 * 59) + ($repairUserId == null ? 43 : $repairUserId.hashCode()); Object $isAffect = getIsAffect(); int result4 = (result3 * 59) + ($isAffect == null ? 43 : $isAffect.hashCode()); Object $repairApplyId = getRepairApplyId(); int result5 = (result4 * 59) + ($repairApplyId == null ? 43 : $repairApplyId.hashCode()); Object $recordType = getRecordType(); int result6 = (result5 * 59) + ($recordType == null ? 43 : $recordType.hashCode()); Object $malfunctionId = getMalfunctionId(); int result7 = (result6 * 59) + ($malfunctionId == null ? 43 : $malfunctionId.hashCode()); Object $urgency = getUrgency(); int result8 = (result7 * 59) + ($urgency == null ? 43 : $urgency.hashCode()); Object $realMalfunctionId = getRealMalfunctionId(); int result9 = (result8 * 59) + ($realMalfunctionId == null ? 43 : $realMalfunctionId.hashCode()); Object $repairNature = getRepairNature(); int result10 = (result9 * 59) + ($repairNature == null ? 43 : $repairNature.hashCode()); Object $errorCode = getErrorCode(); int result11 = (result10 * 59) + ($errorCode == null ? 43 : $errorCode.hashCode()); Object $repairStartTime = getRepairStartTime(); int result12 = (result11 * 59) + ($repairStartTime == null ? 43 : $repairStartTime.hashCode()); Object $repairEndTime = getRepairEndTime(); int result13 = (result12 * 59) + ($repairEndTime == null ? 43 : $repairEndTime.hashCode()); Object $repairUserName = getRepairUserName(); int result14 = (result13 * 59) + ($repairUserName == null ? 43 : $repairUserName.hashCode()); Object $malfunctionDetails = getMalfunctionDetails(); int result15 = (result14 * 59) + ($malfunctionDetails == null ? 43 : $malfunctionDetails.hashCode()); Object $malfunctionTime = getMalfunctionTime(); int result16 = (result15 * 59) + ($malfunctionTime == null ? 43 : $malfunctionTime.hashCode()); Object $recordFileList = getRecordFileList(); int result17 = (result16 * 59) + ($recordFileList == null ? 43 : $recordFileList.hashCode()); Object $materialVOList = getMaterialVOList(); int result18 = (result17 * 59) + ($materialVOList == null ? 43 : $materialVOList.hashCode()); Object $malfunctionCode = getMalfunctionCode(); int result19 = (result18 * 59) + ($malfunctionCode == null ? 43 : $malfunctionCode.hashCode()); Object $malfunctionName = getMalfunctionName(); int result20 = (result19 * 59) + ($malfunctionName == null ? 43 : $malfunctionName.hashCode()); Object $realMalfunctionCode = getRealMalfunctionCode(); int result21 = (result20 * 59) + ($realMalfunctionCode == null ? 43 : $realMalfunctionCode.hashCode()); Object $realMalfunctionName = getRealMalfunctionName(); int result22 = (result21 * 59) + ($realMalfunctionName == null ? 43 : $realMalfunctionName.hashCode()); Object $remark = getRemark(); return (result22 * 59) + ($remark == null ? 43 : $remark.hashCode()); } public String toString() { return "RepairRecordUpdateVO(id=" + getId() + ", errorCode=" + getErrorCode() + ", repairStartTime=" + getRepairStartTime() + ", repairEndTime=" + getRepairEndTime() + ", repairTime=" + getRepairTime() + ", repairUserId=" + getRepairUserId() + ", repairUserName=" + getRepairUserName() + ", malfunctionDetails=" + getMalfunctionDetails() + ", malfunctionTime=" + getMalfunctionTime() + ", isAffect=" + getIsAffect() + ", recordFileList=" + getRecordFileList() + ", materialVOList=" + getMaterialVOList() + ", repairApplyId=" + getRepairApplyId() + ", recordType=" + getRecordType() + ", malfunctionId=" + getMalfunctionId() + ", malfunctionCode=" + getMalfunctionCode() + ", malfunctionName=" + getMalfunctionName() + ", urgency=" + getUrgency() + ", realMalfunctionId=" + getRealMalfunctionId() + ", realMalfunctionCode=" + getRealMalfunctionCode() + ", realMalfunctionName=" + getRealMalfunctionName() + ", remark=" + getRemark() + ", repairNature=" + getRepairNature() + ")"; } public Long getId() { return this.id; } public String getErrorCode() { return this.errorCode; } public Date getRepairStartTime() { return this.repairStartTime; } public Date getRepairEndTime() { return this.repairEndTime; } public Integer getRepairTime() { return this.repairTime; } public Long getRepairUserId() { return this.repairUserId; } public String getRepairUserName() { return this.repairUserName; } public String getMalfunctionDetails() { return this.malfunctionDetails; } public Date getMalfunctionTime() { return this.malfunctionTime; } public Integer getIsAffect() { return this.isAffect; } public List getRecordFileList() { return this.recordFileList; } public List getMaterialVOList() { return this.materialVOList; } public Long getRepairApplyId() { return this.repairApplyId; } public Integer getRecordType() { return this.recordType; } public Long getMalfunctionId() { return this.malfunctionId; } public String getMalfunctionCode() { return this.malfunctionCode; } public String getMalfunctionName() { return this.malfunctionName; } public Integer getUrgency() { return this.urgency; } public Long getRealMalfunctionId() { return this.realMalfunctionId; } public String getRealMalfunctionCode() { return this.realMalfunctionCode; } public String getRealMalfunctionName() { return this.realMalfunctionName; } public String getRemark() { return this.remark; } public Integer getRepairNature() { return this.repairNature; } }