package com.qianwen.smartman.modules.tpm.dto; 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 java.util.List; import javax.validation.constraints.NotNull; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/tpm/dto/RepairApplyAddDTO.class */ public class RepairApplyAddDTO implements Serializable { @NotNull(message = "机器id不能为空") @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; @JsonSerialize(using = ToStringSerializer.class) @ApiModelProperty("维修申请人id") private Long applyUserId; @ApiModelProperty("维修申请人名称") private String applyUserName; @JsonSerialize(using = ToStringSerializer.class) @ApiModelProperty("维修负责人id") private Long repairUserId; @ApiModelProperty("维修负责人名称") private String repairUserName; @ApiModelProperty("影响生产:是 1 否 2") private Integer isAffect; @JsonIgnore @ApiModelProperty("申请时间") private Date applyTime; @ApiModelProperty("故障发生时间") private Date malfunctionTime; @ApiModelProperty("紧急度: 高 3 中 2 低 1") private Integer urgency; @ApiModelProperty("故障描述") private String description; @JsonIgnore @ApiModelProperty("申请单状态: 待执行 1 执行中 2 待确认 3 已确认 4") private Integer applyStatus; @ApiModelProperty("维修申请关联的文件") List fileAddDTOList; @ApiModelProperty("维修申请单号") private String applyCode; @JsonSerialize(using = ToStringSerializer.class) @ApiModelProperty("故障类型id") private Long malfunctionId; @ApiModelProperty("故障类型编码") private String malfunctionCode; @ApiModelProperty("故障类型") private String malfunctionName; @JsonSerialize(using = ToStringSerializer.class) @ApiModelProperty("规则id") private Long codeRuleId; @ApiModelProperty("职权域名称") private String deptName; @ApiModelProperty("紧急度名称") private String urgencyName; @ApiModelProperty("影响生产名称") private String isAffectName; public void setDeviceId(final Long deviceId) { this.deviceId = deviceId; } public void setDeviceCode(final String deviceCode) { this.deviceCode = deviceCode; } public void setDeviceName(final String deviceName) { this.deviceName = deviceName; } public void setDeviceTypeId(final Long deviceTypeId) { this.deviceTypeId = deviceTypeId; } public void setDeviceTypeName(final String deviceTypeName) { this.deviceTypeName = deviceTypeName; } public void setApplyUserId(final Long applyUserId) { this.applyUserId = applyUserId; } public void setApplyUserName(final String applyUserName) { this.applyUserName = applyUserName; } public void setRepairUserId(final Long repairUserId) { this.repairUserId = repairUserId; } public void setRepairUserName(final String repairUserName) { this.repairUserName = repairUserName; } public void setIsAffect(final Integer isAffect) { this.isAffect = isAffect; } @JsonIgnore public void setApplyTime(final Date applyTime) { this.applyTime = applyTime; } public void setMalfunctionTime(final Date malfunctionTime) { this.malfunctionTime = malfunctionTime; } public void setUrgency(final Integer urgency) { this.urgency = urgency; } public void setDescription(final String description) { this.description = description; } @JsonIgnore public void setApplyStatus(final Integer applyStatus) { this.applyStatus = applyStatus; } public void setFileAddDTOList(final List fileAddDTOList) { this.fileAddDTOList = fileAddDTOList; } public void setApplyCode(final String applyCode) { this.applyCode = applyCode; } public void setMalfunctionId(final Long malfunctionId) { this.malfunctionId = malfunctionId; } public void setMalfunctionCode(final String malfunctionCode) { this.malfunctionCode = malfunctionCode; } public void setMalfunctionName(final String malfunctionName) { this.malfunctionName = malfunctionName; } public void setCodeRuleId(final Long codeRuleId) { this.codeRuleId = codeRuleId; } public void setDeptName(final String deptName) { this.deptName = deptName; } public void setUrgencyName(final String urgencyName) { this.urgencyName = urgencyName; } public void setIsAffectName(final String isAffectName) { this.isAffectName = isAffectName; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof RepairApplyAddDTO) { RepairApplyAddDTO other = (RepairApplyAddDTO) o; if (other.canEqual(this)) { 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$codeRuleId = getCodeRuleId(); Object other$codeRuleId = other.getCodeRuleId(); if (this$codeRuleId == null) { if (other$codeRuleId != null) { return false; } } else if (!this$codeRuleId.equals(other$codeRuleId)) { 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$applyTime = getApplyTime(); Object other$applyTime = other.getApplyTime(); if (this$applyTime == null) { if (other$applyTime != null) { return false; } } else if (!this$applyTime.equals(other$applyTime)) { 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$fileAddDTOList = getFileAddDTOList(); Object other$fileAddDTOList = other.getFileAddDTOList(); if (this$fileAddDTOList == null) { if (other$fileAddDTOList != null) { return false; } } else if (!this$fileAddDTOList.equals(other$fileAddDTOList)) { 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$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$deptName = getDeptName(); Object other$deptName = other.getDeptName(); if (this$deptName == null) { if (other$deptName != null) { return false; } } else if (!this$deptName.equals(other$deptName)) { return false; } Object this$urgencyName = getUrgencyName(); Object other$urgencyName = other.getUrgencyName(); if (this$urgencyName == null) { if (other$urgencyName != null) { return false; } } else if (!this$urgencyName.equals(other$urgencyName)) { return false; } Object this$isAffectName = getIsAffectName(); Object other$isAffectName = other.getIsAffectName(); return this$isAffectName == null ? other$isAffectName == null : this$isAffectName.equals(other$isAffectName); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof RepairApplyAddDTO; } public int hashCode() { Object $deviceId = getDeviceId(); int result = (1 * 59) + ($deviceId == null ? 43 : $deviceId.hashCode()); Object $deviceTypeId = getDeviceTypeId(); int result2 = (result * 59) + ($deviceTypeId == null ? 43 : $deviceTypeId.hashCode()); Object $applyUserId = getApplyUserId(); int result3 = (result2 * 59) + ($applyUserId == null ? 43 : $applyUserId.hashCode()); Object $repairUserId = getRepairUserId(); int result4 = (result3 * 59) + ($repairUserId == null ? 43 : $repairUserId.hashCode()); Object $isAffect = getIsAffect(); int result5 = (result4 * 59) + ($isAffect == null ? 43 : $isAffect.hashCode()); Object $urgency = getUrgency(); int result6 = (result5 * 59) + ($urgency == null ? 43 : $urgency.hashCode()); Object $applyStatus = getApplyStatus(); int result7 = (result6 * 59) + ($applyStatus == null ? 43 : $applyStatus.hashCode()); Object $malfunctionId = getMalfunctionId(); int result8 = (result7 * 59) + ($malfunctionId == null ? 43 : $malfunctionId.hashCode()); Object $codeRuleId = getCodeRuleId(); int result9 = (result8 * 59) + ($codeRuleId == null ? 43 : $codeRuleId.hashCode()); Object $deviceCode = getDeviceCode(); int result10 = (result9 * 59) + ($deviceCode == null ? 43 : $deviceCode.hashCode()); Object $deviceName = getDeviceName(); int result11 = (result10 * 59) + ($deviceName == null ? 43 : $deviceName.hashCode()); Object $deviceTypeName = getDeviceTypeName(); int result12 = (result11 * 59) + ($deviceTypeName == null ? 43 : $deviceTypeName.hashCode()); Object $applyUserName = getApplyUserName(); int result13 = (result12 * 59) + ($applyUserName == null ? 43 : $applyUserName.hashCode()); Object $repairUserName = getRepairUserName(); int result14 = (result13 * 59) + ($repairUserName == null ? 43 : $repairUserName.hashCode()); Object $applyTime = getApplyTime(); int result15 = (result14 * 59) + ($applyTime == null ? 43 : $applyTime.hashCode()); Object $malfunctionTime = getMalfunctionTime(); int result16 = (result15 * 59) + ($malfunctionTime == null ? 43 : $malfunctionTime.hashCode()); Object $description = getDescription(); int result17 = (result16 * 59) + ($description == null ? 43 : $description.hashCode()); Object $fileAddDTOList = getFileAddDTOList(); int result18 = (result17 * 59) + ($fileAddDTOList == null ? 43 : $fileAddDTOList.hashCode()); Object $applyCode = getApplyCode(); int result19 = (result18 * 59) + ($applyCode == null ? 43 : $applyCode.hashCode()); Object $malfunctionCode = getMalfunctionCode(); int result20 = (result19 * 59) + ($malfunctionCode == null ? 43 : $malfunctionCode.hashCode()); Object $malfunctionName = getMalfunctionName(); int result21 = (result20 * 59) + ($malfunctionName == null ? 43 : $malfunctionName.hashCode()); Object $deptName = getDeptName(); int result22 = (result21 * 59) + ($deptName == null ? 43 : $deptName.hashCode()); Object $urgencyName = getUrgencyName(); int result23 = (result22 * 59) + ($urgencyName == null ? 43 : $urgencyName.hashCode()); Object $isAffectName = getIsAffectName(); return (result23 * 59) + ($isAffectName == null ? 43 : $isAffectName.hashCode()); } public String toString() { return "RepairApplyAddDTO(deviceId=" + getDeviceId() + ", deviceCode=" + getDeviceCode() + ", deviceName=" + getDeviceName() + ", deviceTypeId=" + getDeviceTypeId() + ", deviceTypeName=" + getDeviceTypeName() + ", applyUserId=" + getApplyUserId() + ", applyUserName=" + getApplyUserName() + ", repairUserId=" + getRepairUserId() + ", repairUserName=" + getRepairUserName() + ", isAffect=" + getIsAffect() + ", applyTime=" + getApplyTime() + ", malfunctionTime=" + getMalfunctionTime() + ", urgency=" + getUrgency() + ", description=" + getDescription() + ", applyStatus=" + getApplyStatus() + ", fileAddDTOList=" + getFileAddDTOList() + ", applyCode=" + getApplyCode() + ", malfunctionId=" + getMalfunctionId() + ", malfunctionCode=" + getMalfunctionCode() + ", malfunctionName=" + getMalfunctionName() + ", codeRuleId=" + getCodeRuleId() + ", deptName=" + getDeptName() + ", urgencyName=" + getUrgencyName() + ", isAffectName=" + getIsAffectName() + ")"; } 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 Date getApplyTime() { return this.applyTime; } public Date getMalfunctionTime() { return this.malfunctionTime; } public Integer getUrgency() { return this.urgency; } public String getDescription() { return this.description; } public Integer getApplyStatus() { return this.applyStatus; } public List getFileAddDTOList() { return this.fileAddDTOList; } public String getApplyCode() { return this.applyCode; } public Long getMalfunctionId() { return this.malfunctionId; } public String getMalfunctionCode() { return this.malfunctionCode; } public String getMalfunctionName() { return this.malfunctionName; } public Long getCodeRuleId() { return this.codeRuleId; } public String getDeptName() { return this.deptName; } public String getUrgencyName() { return this.urgencyName; } public String getIsAffectName() { return this.isAffectName; } }