package com.qianwen.smartman.modules.tpm.vo; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.Date; import com.qianwen.core.tool.utils.Func; import com.qianwen.smartman.modules.tpm.enums.AffectEnum; import com.qianwen.smartman.modules.tpm.enums.RepairNatureEnum; import com.qianwen.smartman.modules.tpm.enums.RepairRecordEnum; import com.qianwen.smartman.modules.tpm.enums.RepairRecordTypeEnum; import com.qianwen.smartman.modules.tpm.enums.UrgencyEnum; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/tpm/vo/RepairRecordVO.class */ public class RepairRecordVO implements Serializable { @JsonSerialize(using = ToStringSerializer.class) @ApiModelProperty("id") private Long id; @ApiModelProperty("维修单号") private String recordCode; @ApiModelProperty("申请单号") private String applyCode; @ApiModelProperty("紧急度: 高 3 中 2 低 1") private Integer urgency; @JsonSerialize(using = ToStringSerializer.class) @ApiModelProperty("维修申请id") private Long repairApplyId; @ApiModelProperty("维修记录状态:待确认 1 已确认 2") private Integer recordStatus; @ApiModelProperty("维修记录类型: 临时维修 1 例行维修 2") private Integer recordType; @ApiModelProperty("故障码") private String errorCode; @ApiModelProperty("维修开始时间") private Date repairStartTime; @ApiModelProperty("维修完成时间") private Date repairEndTime; @ApiModelProperty("维修用时 单位:分钟") private Integer repairTime; @JsonSerialize(using = ToStringSerializer.class) @ApiModelProperty("维修负责人id") private Long repairUserId; @ApiModelProperty("维修负责人名称") private String repairUserName; @ApiModelProperty("故障分析") private String malfunctionDetails; @ApiModelProperty("发生时间 (例行维修)") private Date malfunctionTime; @JsonSerialize(using = ToStringSerializer.class) @ApiModelProperty("设备id") private Long deviceId; @ApiModelProperty("设备编码") private String deviceCode; @ApiModelProperty("设备名称") private String deviceName; @JsonSerialize(using = ToStringSerializer.class) @ApiModelProperty("设备类型id") private Long deviceTypeId; @ApiModelProperty("设备类型名称") private String deviceTypeName; @JsonIgnore @ApiModelProperty("影响生产:是 1 , 否 2") private Integer isAffect; @ApiModelProperty("维修记录状态:待确认 1 已确认 2") private String recordStatusStr; @ApiModelProperty("维修记录类型: 临时维修 1 例行维修 2") private String recordTypeStr; @ApiModelProperty("影响生产:是 1 , 否 2") private String isAffectStr; @ApiModelProperty("紧急度: 高 3 中 2 低 1") private String urgencyStr; @ApiModelProperty(value = "维修申请人id", dataType = "java.lang.String") private Long applyUserId; @ApiModelProperty("维修申请人名称") private String applyUserName; @ApiModelProperty("故障描述") private String description; @ApiModelProperty("故障类型名称") private String malfunctionName; @ApiModelProperty("备注") private String remark; @ApiModelProperty("维修性质(1:厂内;2:委外)") private Integer repairNature; @ApiModelProperty("维修性质") private String repairNatureName; @ApiModelProperty(value = "实际故障类型id", dataType = "java.lang.String") private Long realMalfunctionId; @ApiModelProperty("实际故障类型编码") private String realMalfunctionCode; @ApiModelProperty("实际故障类型") private String realMalfunctionName; @ApiModelProperty("申请时间") private Date applyTime; public RepairRecordVO setId(final Long id) { this.id = id; return this; } public RepairRecordVO setRecordCode(final String recordCode) { this.recordCode = recordCode; return this; } public RepairRecordVO setApplyCode(final String applyCode) { this.applyCode = applyCode; return this; } public RepairRecordVO setRepairApplyId(final Long repairApplyId) { this.repairApplyId = repairApplyId; return this; } public RepairRecordVO setErrorCode(final String errorCode) { this.errorCode = errorCode; return this; } public RepairRecordVO setRepairStartTime(final Date repairStartTime) { this.repairStartTime = repairStartTime; return this; } public RepairRecordVO setRepairEndTime(final Date repairEndTime) { this.repairEndTime = repairEndTime; return this; } public RepairRecordVO setRepairTime(final Integer repairTime) { this.repairTime = repairTime; return this; } public RepairRecordVO setRepairUserId(final Long repairUserId) { this.repairUserId = repairUserId; return this; } public RepairRecordVO setRepairUserName(final String repairUserName) { this.repairUserName = repairUserName; return this; } public RepairRecordVO setMalfunctionDetails(final String malfunctionDetails) { this.malfunctionDetails = malfunctionDetails; return this; } public RepairRecordVO setMalfunctionTime(final Date malfunctionTime) { this.malfunctionTime = malfunctionTime; return this; } public RepairRecordVO setDeviceId(final Long deviceId) { this.deviceId = deviceId; return this; } public RepairRecordVO setDeviceCode(final String deviceCode) { this.deviceCode = deviceCode; return this; } public RepairRecordVO setDeviceName(final String deviceName) { this.deviceName = deviceName; return this; } public RepairRecordVO setDeviceTypeId(final Long deviceTypeId) { this.deviceTypeId = deviceTypeId; return this; } public RepairRecordVO setDeviceTypeName(final String deviceTypeName) { this.deviceTypeName = deviceTypeName; return this; } public RepairRecordVO setRecordStatusStr(final String recordStatusStr) { this.recordStatusStr = recordStatusStr; return this; } public RepairRecordVO setRecordTypeStr(final String recordTypeStr) { this.recordTypeStr = recordTypeStr; return this; } public RepairRecordVO setIsAffectStr(final String isAffectStr) { this.isAffectStr = isAffectStr; return this; } public RepairRecordVO setUrgencyStr(final String urgencyStr) { this.urgencyStr = urgencyStr; return this; } public RepairRecordVO setApplyUserId(final Long applyUserId) { this.applyUserId = applyUserId; return this; } public RepairRecordVO setApplyUserName(final String applyUserName) { this.applyUserName = applyUserName; return this; } public RepairRecordVO setDescription(final String description) { this.description = description; return this; } public RepairRecordVO setMalfunctionName(final String malfunctionName) { this.malfunctionName = malfunctionName; return this; } public RepairRecordVO setRemark(final String remark) { this.remark = remark; return this; } public RepairRecordVO setRepairNatureName(final String repairNatureName) { this.repairNatureName = repairNatureName; return this; } public RepairRecordVO setRealMalfunctionId(final Long realMalfunctionId) { this.realMalfunctionId = realMalfunctionId; return this; } public RepairRecordVO setRealMalfunctionCode(final String realMalfunctionCode) { this.realMalfunctionCode = realMalfunctionCode; return this; } public RepairRecordVO setRealMalfunctionName(final String realMalfunctionName) { this.realMalfunctionName = realMalfunctionName; return this; } public RepairRecordVO setApplyTime(final Date applyTime) { this.applyTime = applyTime; return this; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof RepairRecordVO) { RepairRecordVO other = (RepairRecordVO) 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$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$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$recordStatus = getRecordStatus(); Object other$recordStatus = other.getRecordStatus(); if (this$recordStatus == null) { if (other$recordStatus != null) { return false; } } else if (!this$recordStatus.equals(other$recordStatus)) { 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$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$deviceId = getDeviceId(); Object other$deviceId = other.getDeviceId(); if (this$deviceId == null) { if (other$deviceId != null) { return false; } } else if (!this$deviceId.equals(other$deviceId)) { return false; } Object this$deviceTypeId = getDeviceTypeId(); Object other$deviceTypeId = other.getDeviceTypeId(); if (this$deviceTypeId == null) { if (other$deviceTypeId != null) { return false; } } else if (!this$deviceTypeId.equals(other$deviceTypeId)) { 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$applyUserId = getApplyUserId(); Object other$applyUserId = other.getApplyUserId(); if (this$applyUserId == null) { if (other$applyUserId != null) { return false; } } else if (!this$applyUserId.equals(other$applyUserId)) { 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$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$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$applyCode = getApplyCode(); Object other$applyCode = other.getApplyCode(); if (this$applyCode == null) { if (other$applyCode != null) { return false; } } else if (!this$applyCode.equals(other$applyCode)) { 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$deviceCode = getDeviceCode(); Object other$deviceCode = other.getDeviceCode(); if (this$deviceCode == null) { if (other$deviceCode != null) { return false; } } else if (!this$deviceCode.equals(other$deviceCode)) { return false; } Object this$deviceName = getDeviceName(); Object other$deviceName = other.getDeviceName(); if (this$deviceName == null) { if (other$deviceName != null) { return false; } } else if (!this$deviceName.equals(other$deviceName)) { return false; } Object this$deviceTypeName = getDeviceTypeName(); Object other$deviceTypeName = other.getDeviceTypeName(); if (this$deviceTypeName == null) { if (other$deviceTypeName != null) { return false; } } else if (!this$deviceTypeName.equals(other$deviceTypeName)) { return false; } Object this$recordStatusStr = getRecordStatusStr(); Object other$recordStatusStr = other.getRecordStatusStr(); if (this$recordStatusStr == null) { if (other$recordStatusStr != null) { return false; } } else if (!this$recordStatusStr.equals(other$recordStatusStr)) { return false; } Object this$recordTypeStr = getRecordTypeStr(); Object other$recordTypeStr = other.getRecordTypeStr(); if (this$recordTypeStr == null) { if (other$recordTypeStr != null) { return false; } } else if (!this$recordTypeStr.equals(other$recordTypeStr)) { return false; } Object this$isAffectStr = getIsAffectStr(); Object other$isAffectStr = other.getIsAffectStr(); if (this$isAffectStr == null) { if (other$isAffectStr != null) { return false; } } else if (!this$isAffectStr.equals(other$isAffectStr)) { return false; } Object this$urgencyStr = getUrgencyStr(); Object other$urgencyStr = other.getUrgencyStr(); if (this$urgencyStr == null) { if (other$urgencyStr != null) { return false; } } else if (!this$urgencyStr.equals(other$urgencyStr)) { return false; } Object this$applyUserName = getApplyUserName(); Object other$applyUserName = other.getApplyUserName(); if (this$applyUserName == null) { if (other$applyUserName != null) { return false; } } else if (!this$applyUserName.equals(other$applyUserName)) { return false; } Object this$description = getDescription(); Object other$description = other.getDescription(); if (this$description == null) { if (other$description != null) { return false; } } else if (!this$description.equals(other$description)) { 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$remark = getRemark(); Object other$remark = other.getRemark(); if (this$remark == null) { if (other$remark != null) { return false; } } else if (!this$remark.equals(other$remark)) { return false; } Object this$repairNatureName = getRepairNatureName(); Object other$repairNatureName = other.getRepairNatureName(); if (this$repairNatureName == null) { if (other$repairNatureName != null) { return false; } } else if (!this$repairNatureName.equals(other$repairNatureName)) { 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$applyTime = getApplyTime(); Object other$applyTime = other.getApplyTime(); return this$applyTime == null ? other$applyTime == null : this$applyTime.equals(other$applyTime); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof RepairRecordVO; } public int hashCode() { Object $id = getId(); int result = (1 * 59) + ($id == null ? 43 : $id.hashCode()); Object $urgency = getUrgency(); int result2 = (result * 59) + ($urgency == null ? 43 : $urgency.hashCode()); Object $repairApplyId = getRepairApplyId(); int result3 = (result2 * 59) + ($repairApplyId == null ? 43 : $repairApplyId.hashCode()); Object $recordStatus = getRecordStatus(); int result4 = (result3 * 59) + ($recordStatus == null ? 43 : $recordStatus.hashCode()); Object $recordType = getRecordType(); int result5 = (result4 * 59) + ($recordType == null ? 43 : $recordType.hashCode()); Object $repairTime = getRepairTime(); int result6 = (result5 * 59) + ($repairTime == null ? 43 : $repairTime.hashCode()); Object $repairUserId = getRepairUserId(); int result7 = (result6 * 59) + ($repairUserId == null ? 43 : $repairUserId.hashCode()); Object $deviceId = getDeviceId(); int result8 = (result7 * 59) + ($deviceId == null ? 43 : $deviceId.hashCode()); Object $deviceTypeId = getDeviceTypeId(); int result9 = (result8 * 59) + ($deviceTypeId == null ? 43 : $deviceTypeId.hashCode()); Object $isAffect = getIsAffect(); int result10 = (result9 * 59) + ($isAffect == null ? 43 : $isAffect.hashCode()); Object $applyUserId = getApplyUserId(); int result11 = (result10 * 59) + ($applyUserId == null ? 43 : $applyUserId.hashCode()); Object $repairNature = getRepairNature(); int result12 = (result11 * 59) + ($repairNature == null ? 43 : $repairNature.hashCode()); Object $realMalfunctionId = getRealMalfunctionId(); int result13 = (result12 * 59) + ($realMalfunctionId == null ? 43 : $realMalfunctionId.hashCode()); Object $recordCode = getRecordCode(); int result14 = (result13 * 59) + ($recordCode == null ? 43 : $recordCode.hashCode()); Object $applyCode = getApplyCode(); int result15 = (result14 * 59) + ($applyCode == null ? 43 : $applyCode.hashCode()); Object $errorCode = getErrorCode(); int result16 = (result15 * 59) + ($errorCode == null ? 43 : $errorCode.hashCode()); Object $repairStartTime = getRepairStartTime(); int result17 = (result16 * 59) + ($repairStartTime == null ? 43 : $repairStartTime.hashCode()); Object $repairEndTime = getRepairEndTime(); int result18 = (result17 * 59) + ($repairEndTime == null ? 43 : $repairEndTime.hashCode()); Object $repairUserName = getRepairUserName(); int result19 = (result18 * 59) + ($repairUserName == null ? 43 : $repairUserName.hashCode()); Object $malfunctionDetails = getMalfunctionDetails(); int result20 = (result19 * 59) + ($malfunctionDetails == null ? 43 : $malfunctionDetails.hashCode()); Object $malfunctionTime = getMalfunctionTime(); int result21 = (result20 * 59) + ($malfunctionTime == null ? 43 : $malfunctionTime.hashCode()); Object $deviceCode = getDeviceCode(); int result22 = (result21 * 59) + ($deviceCode == null ? 43 : $deviceCode.hashCode()); Object $deviceName = getDeviceName(); int result23 = (result22 * 59) + ($deviceName == null ? 43 : $deviceName.hashCode()); Object $deviceTypeName = getDeviceTypeName(); int result24 = (result23 * 59) + ($deviceTypeName == null ? 43 : $deviceTypeName.hashCode()); Object $recordStatusStr = getRecordStatusStr(); int result25 = (result24 * 59) + ($recordStatusStr == null ? 43 : $recordStatusStr.hashCode()); Object $recordTypeStr = getRecordTypeStr(); int result26 = (result25 * 59) + ($recordTypeStr == null ? 43 : $recordTypeStr.hashCode()); Object $isAffectStr = getIsAffectStr(); int result27 = (result26 * 59) + ($isAffectStr == null ? 43 : $isAffectStr.hashCode()); Object $urgencyStr = getUrgencyStr(); int result28 = (result27 * 59) + ($urgencyStr == null ? 43 : $urgencyStr.hashCode()); Object $applyUserName = getApplyUserName(); int result29 = (result28 * 59) + ($applyUserName == null ? 43 : $applyUserName.hashCode()); Object $description = getDescription(); int result30 = (result29 * 59) + ($description == null ? 43 : $description.hashCode()); Object $malfunctionName = getMalfunctionName(); int result31 = (result30 * 59) + ($malfunctionName == null ? 43 : $malfunctionName.hashCode()); Object $remark = getRemark(); int result32 = (result31 * 59) + ($remark == null ? 43 : $remark.hashCode()); Object $repairNatureName = getRepairNatureName(); int result33 = (result32 * 59) + ($repairNatureName == null ? 43 : $repairNatureName.hashCode()); Object $realMalfunctionCode = getRealMalfunctionCode(); int result34 = (result33 * 59) + ($realMalfunctionCode == null ? 43 : $realMalfunctionCode.hashCode()); Object $realMalfunctionName = getRealMalfunctionName(); int result35 = (result34 * 59) + ($realMalfunctionName == null ? 43 : $realMalfunctionName.hashCode()); Object $applyTime = getApplyTime(); return (result35 * 59) + ($applyTime == null ? 43 : $applyTime.hashCode()); } public String toString() { return "RepairRecordVO(id=" + getId() + ", recordCode=" + getRecordCode() + ", applyCode=" + getApplyCode() + ", urgency=" + getUrgency() + ", repairApplyId=" + getRepairApplyId() + ", recordStatus=" + getRecordStatus() + ", recordType=" + getRecordType() + ", errorCode=" + getErrorCode() + ", repairStartTime=" + getRepairStartTime() + ", repairEndTime=" + getRepairEndTime() + ", repairTime=" + getRepairTime() + ", repairUserId=" + getRepairUserId() + ", repairUserName=" + getRepairUserName() + ", malfunctionDetails=" + getMalfunctionDetails() + ", malfunctionTime=" + getMalfunctionTime() + ", deviceId=" + getDeviceId() + ", deviceCode=" + getDeviceCode() + ", deviceName=" + getDeviceName() + ", deviceTypeId=" + getDeviceTypeId() + ", deviceTypeName=" + getDeviceTypeName() + ", isAffect=" + getIsAffect() + ", recordStatusStr=" + getRecordStatusStr() + ", recordTypeStr=" + getRecordTypeStr() + ", isAffectStr=" + getIsAffectStr() + ", urgencyStr=" + getUrgencyStr() + ", applyUserId=" + getApplyUserId() + ", applyUserName=" + getApplyUserName() + ", description=" + getDescription() + ", malfunctionName=" + getMalfunctionName() + ", remark=" + getRemark() + ", repairNature=" + getRepairNature() + ", repairNatureName=" + getRepairNatureName() + ", realMalfunctionId=" + getRealMalfunctionId() + ", realMalfunctionCode=" + getRealMalfunctionCode() + ", realMalfunctionName=" + getRealMalfunctionName() + ", applyTime=" + getApplyTime() + ")"; } public Long getId() { return this.id; } public String getRecordCode() { return this.recordCode; } public String getApplyCode() { return this.applyCode; } public Integer getUrgency() { return this.urgency; } public Long getRepairApplyId() { return this.repairApplyId; } public Integer getRecordStatus() { return this.recordStatus; } public Integer getRecordType() { return this.recordType; } 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 Long getDeviceId() { return this.deviceId; } public String getDeviceCode() { return this.deviceCode; } public String getDeviceName() { return this.deviceName; } public Long getDeviceTypeId() { return this.deviceTypeId; } public String getDeviceTypeName() { return this.deviceTypeName; } public Integer getIsAffect() { return this.isAffect; } public String getRecordStatusStr() { return this.recordStatusStr; } public String getRecordTypeStr() { return this.recordTypeStr; } public String getIsAffectStr() { return this.isAffectStr; } public String getUrgencyStr() { return this.urgencyStr; } public Long getApplyUserId() { return this.applyUserId; } public String getApplyUserName() { return this.applyUserName; } public String getDescription() { return this.description; } public String getMalfunctionName() { return this.malfunctionName; } public String getRemark() { return this.remark; } public Integer getRepairNature() { return this.repairNature; } public String getRepairNatureName() { return this.repairNatureName; } public Long getRealMalfunctionId() { return this.realMalfunctionId; } public String getRealMalfunctionCode() { return this.realMalfunctionCode; } public String getRealMalfunctionName() { return this.realMalfunctionName; } public Date getApplyTime() { return this.applyTime; } public void setUrgency(Integer urgency) { this.urgency = urgency; if (Func.isNotEmpty(urgency)) { if (urgency.equals(Integer.valueOf(UrgencyEnum.U1.getType()))) { this.urgencyStr = UrgencyEnum.U1.getDesc(); } else if (urgency.equals(Integer.valueOf(UrgencyEnum.U2.getType()))) { this.urgencyStr = UrgencyEnum.U2.getDesc(); } else { this.urgencyStr = UrgencyEnum.U3.getDesc(); } } } public void setRecordStatus(Integer recordStatus) { this.recordStatus = recordStatus; if (Func.isNotEmpty(recordStatus)) { if (recordStatus.equals(Integer.valueOf(RepairRecordEnum.R1.getType()))) { this.recordStatusStr = RepairRecordEnum.R1.getDesc(); } else { this.recordStatusStr = RepairRecordEnum.R2.getDesc(); } } } public void setRecordType(Integer recordType) { this.recordType = recordType; if (Func.isNotEmpty(recordType)) { if (recordType.equals(Integer.valueOf(RepairRecordTypeEnum.T1.getType()))) { this.recordTypeStr = RepairRecordTypeEnum.T1.getDesc(); } else { this.recordTypeStr = RepairRecordTypeEnum.T2.getDesc(); } } } public void setIsAffect(Integer isAffect) { this.isAffect = isAffect; if (Func.isNotEmpty(isAffect)) { if (isAffect.equals(Integer.valueOf(AffectEnum.A1.getType()))) { this.isAffectStr = AffectEnum.A1.getDesc(); } else { this.isAffectStr = AffectEnum.A2.getDesc(); } } } public void setRepairNature(Integer repairNature) { this.repairNature = repairNature; if (Func.isNotEmpty(repairNature)) { if (repairNature.equals(Integer.valueOf(RepairNatureEnum.U1.getType()))) { this.repairNatureName = RepairNatureEnum.U1.getDesc(); } else if (repairNature.equals(Integer.valueOf(RepairNatureEnum.U2.getType()))) { this.repairNatureName = RepairNatureEnum.U2.getDesc(); } } } }