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.time.LocalDateTime; import com.qianwen.core.tenant.mp.TenantEntity; @ApiModel(description = "维修申请表") @TableName("blade_repair_apply") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/tpm/entity/RepairApply.class */ public class RepairApply extends TenantEntity { @TableField("apply_code") private String applyCode; @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("apply_user_id") private Long applyUserId; @TableField("apply_user_name") private String applyUserName; @TableField("repair_user_id") private Long repairUserId; @TableField("repair_user_name") private String repairUserName; @TableField(value = "is_affect", updateStrategy = FieldStrategy.IGNORED) private Integer isAffect; @TableField(value = "malfunction_time", updateStrategy = FieldStrategy.IGNORED) private LocalDateTime malfunctionTime; @TableField(value = "urgency", updateStrategy = FieldStrategy.IGNORED) private Integer urgency; private String description; @TableField("apply_status") private Integer applyStatus; @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("repair_nature") private Integer repairNature; @TableField("start_time") private LocalDateTime startTime; @TableField("remark") private String remark; public RepairApply setApplyCode(final String applyCode) { this.applyCode = applyCode; return this; } public RepairApply setDeviceId(final Long deviceId) { this.deviceId = deviceId; return this; } public RepairApply setDeviceCode(final String deviceCode) { this.deviceCode = deviceCode; return this; } public RepairApply setDeviceName(final String deviceName) { this.deviceName = deviceName; return this; } public RepairApply setDeviceTypeId(final Long deviceTypeId) { this.deviceTypeId = deviceTypeId; return this; } public RepairApply setDeviceTypeName(final String deviceTypeName) { this.deviceTypeName = deviceTypeName; return this; } public RepairApply setApplyUserId(final Long applyUserId) { this.applyUserId = applyUserId; return this; } public RepairApply setApplyUserName(final String applyUserName) { this.applyUserName = applyUserName; return this; } public RepairApply setRepairUserId(final Long repairUserId) { this.repairUserId = repairUserId; return this; } public RepairApply setRepairUserName(final String repairUserName) { this.repairUserName = repairUserName; return this; } public RepairApply setIsAffect(final Integer isAffect) { this.isAffect = isAffect; return this; } public RepairApply setMalfunctionTime(final LocalDateTime malfunctionTime) { this.malfunctionTime = malfunctionTime; return this; } public RepairApply setUrgency(final Integer urgency) { this.urgency = urgency; return this; } public RepairApply setDescription(final String description) { this.description = description; return this; } public RepairApply setApplyStatus(final Integer applyStatus) { this.applyStatus = applyStatus; return this; } public RepairApply setMalfunctionId(final Long malfunctionId) { this.malfunctionId = malfunctionId; return this; } public RepairApply setMalfunctionCode(final String malfunctionCode) { this.malfunctionCode = malfunctionCode; return this; } public RepairApply setMalfunctionName(final String malfunctionName) { this.malfunctionName = malfunctionName; return this; } public RepairApply setRepairNature(final Integer repairNature) { this.repairNature = repairNature; return this; } public RepairApply setStartTime(final LocalDateTime startTime) { this.startTime = startTime; return this; } public RepairApply setRemark(final String remark) { this.remark = remark; return this; } public String toString() { return "RepairApply(applyCode=" + getApplyCode() + ", deviceId=" + getDeviceId() + ", deviceCode=" + getDeviceCode() + ", deviceName=" + getDeviceName() + ", deviceTypeId=" + getDeviceTypeId() + ", deviceTypeName=" + getDeviceTypeName() + ", applyUserId=" + getApplyUserId() + ", applyUserName=" + getApplyUserName() + ", repairUserId=" + getRepairUserId() + ", repairUserName=" + getRepairUserName() + ", isAffect=" + getIsAffect() + ", malfunctionTime=" + getMalfunctionTime() + ", urgency=" + getUrgency() + ", description=" + getDescription() + ", applyStatus=" + getApplyStatus() + ", malfunctionId=" + getMalfunctionId() + ", malfunctionCode=" + getMalfunctionCode() + ", malfunctionName=" + getMalfunctionName() + ", repairNature=" + getRepairNature() + ", startTime=" + getStartTime() + ", remark=" + getRemark() + ")"; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof RepairApply) { RepairApply other = (RepairApply) o; if (other.canEqual(this) && super.equals(o)) { 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$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$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$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$applyStatus = getApplyStatus(); Object other$applyStatus = other.getApplyStatus(); if (this$applyStatus == null) { if (other$applyStatus != null) { return false; } } else if (!this$applyStatus.equals(other$applyStatus)) { 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$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$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$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$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$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$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$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$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$startTime = getStartTime(); Object other$startTime = other.getStartTime(); if (this$startTime == null) { if (other$startTime != null) { return false; } } else if (!this$startTime.equals(other$startTime)) { 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 RepairApply; } public int hashCode() { int result = super.hashCode(); Object $deviceId = getDeviceId(); int result2 = (result * 59) + ($deviceId == null ? 43 : $deviceId.hashCode()); Object $deviceTypeId = getDeviceTypeId(); int result3 = (result2 * 59) + ($deviceTypeId == null ? 43 : $deviceTypeId.hashCode()); Object $applyUserId = getApplyUserId(); int result4 = (result3 * 59) + ($applyUserId == null ? 43 : $applyUserId.hashCode()); Object $repairUserId = getRepairUserId(); int result5 = (result4 * 59) + ($repairUserId == null ? 43 : $repairUserId.hashCode()); Object $isAffect = getIsAffect(); int result6 = (result5 * 59) + ($isAffect == null ? 43 : $isAffect.hashCode()); Object $urgency = getUrgency(); int result7 = (result6 * 59) + ($urgency == null ? 43 : $urgency.hashCode()); Object $applyStatus = getApplyStatus(); int result8 = (result7 * 59) + ($applyStatus == null ? 43 : $applyStatus.hashCode()); Object $malfunctionId = getMalfunctionId(); int result9 = (result8 * 59) + ($malfunctionId == null ? 43 : $malfunctionId.hashCode()); Object $repairNature = getRepairNature(); int result10 = (result9 * 59) + ($repairNature == null ? 43 : $repairNature.hashCode()); Object $applyCode = getApplyCode(); int result11 = (result10 * 59) + ($applyCode == null ? 43 : $applyCode.hashCode()); Object $deviceCode = getDeviceCode(); int result12 = (result11 * 59) + ($deviceCode == null ? 43 : $deviceCode.hashCode()); Object $deviceName = getDeviceName(); int result13 = (result12 * 59) + ($deviceName == null ? 43 : $deviceName.hashCode()); Object $deviceTypeName = getDeviceTypeName(); int result14 = (result13 * 59) + ($deviceTypeName == null ? 43 : $deviceTypeName.hashCode()); Object $applyUserName = getApplyUserName(); int result15 = (result14 * 59) + ($applyUserName == null ? 43 : $applyUserName.hashCode()); Object $repairUserName = getRepairUserName(); int result16 = (result15 * 59) + ($repairUserName == null ? 43 : $repairUserName.hashCode()); Object $malfunctionTime = getMalfunctionTime(); int result17 = (result16 * 59) + ($malfunctionTime == null ? 43 : $malfunctionTime.hashCode()); Object $description = getDescription(); int result18 = (result17 * 59) + ($description == null ? 43 : $description.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 $startTime = getStartTime(); int result21 = (result20 * 59) + ($startTime == null ? 43 : $startTime.hashCode()); Object $remark = getRemark(); return (result21 * 59) + ($remark == null ? 43 : $remark.hashCode()); } public String getApplyCode() { return this.applyCode; } 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 Long getApplyUserId() { return this.applyUserId; } public String getApplyUserName() { return this.applyUserName; } public Long getRepairUserId() { return this.repairUserId; } public String getRepairUserName() { return this.repairUserName; } public Integer getIsAffect() { return this.isAffect; } public LocalDateTime getMalfunctionTime() { return this.malfunctionTime; } public Integer getUrgency() { return this.urgency; } public String getDescription() { return this.description; } public Integer getApplyStatus() { return this.applyStatus; } public Long getMalfunctionId() { return this.malfunctionId; } public String getMalfunctionCode() { return this.malfunctionCode; } public String getMalfunctionName() { return this.malfunctionName; } public Integer getRepairNature() { return this.repairNature; } public LocalDateTime getStartTime() { return this.startTime; } public String getRemark() { return this.remark; } }