package com.qianwen.smartman.modules.tpm.dto;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import java.util.List;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/tpm/dto/RepairApplyConditionDTO.class */
|
public class RepairApplyConditionDTO implements Serializable {
|
@ApiModelProperty("机器类型id")
|
private String deviceId;
|
@ApiModelProperty("申请单状态: 待执行 1 执行中 2")
|
private List<Integer> statusList;
|
|
public RepairApplyConditionDTO setDeviceId(final String deviceId) {
|
this.deviceId = deviceId;
|
return this;
|
}
|
|
public RepairApplyConditionDTO setStatusList(final List<Integer> statusList) {
|
this.statusList = statusList;
|
return this;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof RepairApplyConditionDTO) {
|
RepairApplyConditionDTO other = (RepairApplyConditionDTO) 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$statusList = getStatusList();
|
Object other$statusList = other.getStatusList();
|
return this$statusList == null ? other$statusList == null : this$statusList.equals(other$statusList);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof RepairApplyConditionDTO;
|
}
|
|
public int hashCode() {
|
Object $deviceId = getDeviceId();
|
int result = (1 * 59) + ($deviceId == null ? 43 : $deviceId.hashCode());
|
Object $statusList = getStatusList();
|
return (result * 59) + ($statusList == null ? 43 : $statusList.hashCode());
|
}
|
|
public String toString() {
|
return "RepairApplyConditionDTO(deviceId=" + getDeviceId() + ", statusList=" + getStatusList() + ")";
|
}
|
|
public String getDeviceId() {
|
return this.deviceId;
|
}
|
|
public List<Integer> getStatusList() {
|
return this.statusList;
|
}
|
}
|