package com.qianwen.smartman.modules.tpm.entity;
|
|
import com.baomidou.mybatisplus.annotation.FieldStrategy;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import io.swagger.annotations.ApiModel;
|
import java.util.Date;
|
import com.qianwen.core.tenant.mp.TenantEntity;
|
|
@ApiModel(description = "维修记录表")
|
@TableName("blade_repair_record")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/tpm/entity/RepairRecord.class */
|
public class RepairRecord extends TenantEntity {
|
@TableField("record_code")
|
private String recordCode;
|
@TableField("repair_apply_id")
|
private Long repairApplyId;
|
@TableField("record_status")
|
private Integer recordStatus;
|
@TableField("record_type")
|
private Integer recordType;
|
@TableField("error_code")
|
private String errorCode;
|
@TableField(value = "repair_start_time", updateStrategy = FieldStrategy.IGNORED)
|
private Date repairStartTime;
|
@TableField(value = "repair_end_time", updateStrategy = FieldStrategy.IGNORED)
|
private Date repairEndTime;
|
@TableField("repair_time")
|
private Integer repairTime;
|
@TableField(value = "repair_user_id", updateStrategy = FieldStrategy.IGNORED)
|
private Long repairUserId;
|
@TableField(value = "repair_user_name", updateStrategy = FieldStrategy.IGNORED)
|
private String repairUserName;
|
@TableField("malfunction_details")
|
private String malfunctionDetails;
|
@TableField("malfunction_time")
|
private Date malfunctionTime;
|
@TableField("device_id")
|
private Long deviceId;
|
@TableField("device_code")
|
private String deviceCode;
|
@TableField("device_name")
|
private String deviceName;
|
@TableField("device_type_id")
|
private Long deviceTypeId;
|
@TableField("device_type_name")
|
private String deviceTypeName;
|
@TableField("is_affect")
|
private Integer isAffect;
|
@TableField(value = "malfunction_id", updateStrategy = FieldStrategy.IGNORED)
|
private Long malfunctionId;
|
@TableField(value = "malfunction_code", updateStrategy = FieldStrategy.IGNORED)
|
private String malfunctionCode;
|
@TableField(value = "malfunction_name", updateStrategy = FieldStrategy.IGNORED)
|
private String malfunctionName;
|
@TableField(value = "urgency", updateStrategy = FieldStrategy.IGNORED)
|
private Integer urgency;
|
@TableField(value = "real_malfunction_id", updateStrategy = FieldStrategy.IGNORED)
|
private Long realMalfunctionId;
|
@TableField(value = "real_malfunction_code", updateStrategy = FieldStrategy.IGNORED)
|
private String realMalfunctionCode;
|
@TableField(value = "real_malfunction_name", updateStrategy = FieldStrategy.IGNORED)
|
private String realMalfunctionName;
|
@TableField("remark")
|
private String remark;
|
@TableField("repair_nature")
|
private Integer repairNature;
|
|
public RepairRecord setRecordCode(final String recordCode) {
|
this.recordCode = recordCode;
|
return this;
|
}
|
|
public RepairRecord setRepairApplyId(final Long repairApplyId) {
|
this.repairApplyId = repairApplyId;
|
return this;
|
}
|
|
public RepairRecord setRecordStatus(final Integer recordStatus) {
|
this.recordStatus = recordStatus;
|
return this;
|
}
|
|
public RepairRecord setRecordType(final Integer recordType) {
|
this.recordType = recordType;
|
return this;
|
}
|
|
public RepairRecord setErrorCode(final String errorCode) {
|
this.errorCode = errorCode;
|
return this;
|
}
|
|
public RepairRecord setRepairStartTime(final Date repairStartTime) {
|
this.repairStartTime = repairStartTime;
|
return this;
|
}
|
|
public RepairRecord setRepairEndTime(final Date repairEndTime) {
|
this.repairEndTime = repairEndTime;
|
return this;
|
}
|
|
public RepairRecord setRepairTime(final Integer repairTime) {
|
this.repairTime = repairTime;
|
return this;
|
}
|
|
public RepairRecord setRepairUserId(final Long repairUserId) {
|
this.repairUserId = repairUserId;
|
return this;
|
}
|
|
public RepairRecord setRepairUserName(final String repairUserName) {
|
this.repairUserName = repairUserName;
|
return this;
|
}
|
|
public RepairRecord setMalfunctionDetails(final String malfunctionDetails) {
|
this.malfunctionDetails = malfunctionDetails;
|
return this;
|
}
|
|
public RepairRecord setMalfunctionTime(final Date malfunctionTime) {
|
this.malfunctionTime = malfunctionTime;
|
return this;
|
}
|
|
public RepairRecord setDeviceId(final Long deviceId) {
|
this.deviceId = deviceId;
|
return this;
|
}
|
|
public RepairRecord setDeviceCode(final String deviceCode) {
|
this.deviceCode = deviceCode;
|
return this;
|
}
|
|
public RepairRecord setDeviceName(final String deviceName) {
|
this.deviceName = deviceName;
|
return this;
|
}
|
|
public RepairRecord setDeviceTypeId(final Long deviceTypeId) {
|
this.deviceTypeId = deviceTypeId;
|
return this;
|
}
|
|
public RepairRecord setDeviceTypeName(final String deviceTypeName) {
|
this.deviceTypeName = deviceTypeName;
|
return this;
|
}
|
|
public RepairRecord setIsAffect(final Integer isAffect) {
|
this.isAffect = isAffect;
|
return this;
|
}
|
|
public RepairRecord setMalfunctionId(final Long malfunctionId) {
|
this.malfunctionId = malfunctionId;
|
return this;
|
}
|
|
public RepairRecord setMalfunctionCode(final String malfunctionCode) {
|
this.malfunctionCode = malfunctionCode;
|
return this;
|
}
|
|
public RepairRecord setMalfunctionName(final String malfunctionName) {
|
this.malfunctionName = malfunctionName;
|
return this;
|
}
|
|
public RepairRecord setUrgency(final Integer urgency) {
|
this.urgency = urgency;
|
return this;
|
}
|
|
public RepairRecord setRealMalfunctionId(final Long realMalfunctionId) {
|
this.realMalfunctionId = realMalfunctionId;
|
return this;
|
}
|
|
public RepairRecord setRealMalfunctionCode(final String realMalfunctionCode) {
|
this.realMalfunctionCode = realMalfunctionCode;
|
return this;
|
}
|
|
public RepairRecord setRealMalfunctionName(final String realMalfunctionName) {
|
this.realMalfunctionName = realMalfunctionName;
|
return this;
|
}
|
|
public RepairRecord setRemark(final String remark) {
|
this.remark = remark;
|
return this;
|
}
|
|
public RepairRecord setRepairNature(final Integer repairNature) {
|
this.repairNature = repairNature;
|
return this;
|
}
|
|
public String toString() {
|
return "RepairRecord(recordCode=" + getRecordCode() + ", 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() + ", malfunctionId=" + getMalfunctionId() + ", malfunctionCode=" + getMalfunctionCode() + ", malfunctionName=" + getMalfunctionName() + ", urgency=" + getUrgency() + ", realMalfunctionId=" + getRealMalfunctionId() + ", realMalfunctionCode=" + getRealMalfunctionCode() + ", realMalfunctionName=" + getRealMalfunctionName() + ", remark=" + getRemark() + ", repairNature=" + getRepairNature() + ")";
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof RepairRecord) {
|
RepairRecord other = (RepairRecord) o;
|
if (other.canEqual(this) && super.equals(o)) {
|
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$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$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$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$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 RepairRecord;
|
}
|
|
public int hashCode() {
|
int result = super.hashCode();
|
Object $repairApplyId = getRepairApplyId();
|
int result2 = (result * 59) + ($repairApplyId == null ? 43 : $repairApplyId.hashCode());
|
Object $recordStatus = getRecordStatus();
|
int result3 = (result2 * 59) + ($recordStatus == null ? 43 : $recordStatus.hashCode());
|
Object $recordType = getRecordType();
|
int result4 = (result3 * 59) + ($recordType == null ? 43 : $recordType.hashCode());
|
Object $repairTime = getRepairTime();
|
int result5 = (result4 * 59) + ($repairTime == null ? 43 : $repairTime.hashCode());
|
Object $repairUserId = getRepairUserId();
|
int result6 = (result5 * 59) + ($repairUserId == null ? 43 : $repairUserId.hashCode());
|
Object $deviceId = getDeviceId();
|
int result7 = (result6 * 59) + ($deviceId == null ? 43 : $deviceId.hashCode());
|
Object $deviceTypeId = getDeviceTypeId();
|
int result8 = (result7 * 59) + ($deviceTypeId == null ? 43 : $deviceTypeId.hashCode());
|
Object $isAffect = getIsAffect();
|
int result9 = (result8 * 59) + ($isAffect == null ? 43 : $isAffect.hashCode());
|
Object $malfunctionId = getMalfunctionId();
|
int result10 = (result9 * 59) + ($malfunctionId == null ? 43 : $malfunctionId.hashCode());
|
Object $urgency = getUrgency();
|
int result11 = (result10 * 59) + ($urgency == null ? 43 : $urgency.hashCode());
|
Object $realMalfunctionId = getRealMalfunctionId();
|
int result12 = (result11 * 59) + ($realMalfunctionId == null ? 43 : $realMalfunctionId.hashCode());
|
Object $repairNature = getRepairNature();
|
int result13 = (result12 * 59) + ($repairNature == null ? 43 : $repairNature.hashCode());
|
Object $recordCode = getRecordCode();
|
int result14 = (result13 * 59) + ($recordCode == null ? 43 : $recordCode.hashCode());
|
Object $errorCode = getErrorCode();
|
int result15 = (result14 * 59) + ($errorCode == null ? 43 : $errorCode.hashCode());
|
Object $repairStartTime = getRepairStartTime();
|
int result16 = (result15 * 59) + ($repairStartTime == null ? 43 : $repairStartTime.hashCode());
|
Object $repairEndTime = getRepairEndTime();
|
int result17 = (result16 * 59) + ($repairEndTime == null ? 43 : $repairEndTime.hashCode());
|
Object $repairUserName = getRepairUserName();
|
int result18 = (result17 * 59) + ($repairUserName == null ? 43 : $repairUserName.hashCode());
|
Object $malfunctionDetails = getMalfunctionDetails();
|
int result19 = (result18 * 59) + ($malfunctionDetails == null ? 43 : $malfunctionDetails.hashCode());
|
Object $malfunctionTime = getMalfunctionTime();
|
int result20 = (result19 * 59) + ($malfunctionTime == null ? 43 : $malfunctionTime.hashCode());
|
Object $deviceCode = getDeviceCode();
|
int result21 = (result20 * 59) + ($deviceCode == null ? 43 : $deviceCode.hashCode());
|
Object $deviceName = getDeviceName();
|
int result22 = (result21 * 59) + ($deviceName == null ? 43 : $deviceName.hashCode());
|
Object $deviceTypeName = getDeviceTypeName();
|
int result23 = (result22 * 59) + ($deviceTypeName == null ? 43 : $deviceTypeName.hashCode());
|
Object $malfunctionCode = getMalfunctionCode();
|
int result24 = (result23 * 59) + ($malfunctionCode == null ? 43 : $malfunctionCode.hashCode());
|
Object $malfunctionName = getMalfunctionName();
|
int result25 = (result24 * 59) + ($malfunctionName == null ? 43 : $malfunctionName.hashCode());
|
Object $realMalfunctionCode = getRealMalfunctionCode();
|
int result26 = (result25 * 59) + ($realMalfunctionCode == null ? 43 : $realMalfunctionCode.hashCode());
|
Object $realMalfunctionName = getRealMalfunctionName();
|
int result27 = (result26 * 59) + ($realMalfunctionName == null ? 43 : $realMalfunctionName.hashCode());
|
Object $remark = getRemark();
|
return (result27 * 59) + ($remark == null ? 43 : $remark.hashCode());
|
}
|
|
public String getRecordCode() {
|
return this.recordCode;
|
}
|
|
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 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;
|
}
|
}
|