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/RepairApplyExportDTO.class */
|
public class RepairApplyExportDTO implements Serializable {
|
@ApiModelProperty("是否选中导出")
|
private Boolean exportSelected;
|
@ApiModelProperty("选中申请id集合")
|
private List<Long> selectedRecords;
|
@ApiModelProperty(value = "机器类型ID", required = false)
|
private Long deviceTypeId;
|
@ApiModelProperty("关键词")
|
private String keyWord;
|
@ApiModelProperty("机器Id")
|
private Long deviceId;
|
@ApiModelProperty("申请单状态: 待执行 1 执行中 2 待确认 3 已确认 4")
|
private Integer applyStatus;
|
|
public RepairApplyExportDTO setExportSelected(final Boolean exportSelected) {
|
this.exportSelected = exportSelected;
|
return this;
|
}
|
|
public RepairApplyExportDTO setSelectedRecords(final List<Long> selectedRecords) {
|
this.selectedRecords = selectedRecords;
|
return this;
|
}
|
|
public RepairApplyExportDTO setDeviceTypeId(final Long deviceTypeId) {
|
this.deviceTypeId = deviceTypeId;
|
return this;
|
}
|
|
public RepairApplyExportDTO setKeyWord(final String keyWord) {
|
this.keyWord = keyWord;
|
return this;
|
}
|
|
public RepairApplyExportDTO setDeviceId(final Long deviceId) {
|
this.deviceId = deviceId;
|
return this;
|
}
|
|
public RepairApplyExportDTO setApplyStatus(final Integer applyStatus) {
|
this.applyStatus = applyStatus;
|
return this;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof RepairApplyExportDTO) {
|
RepairApplyExportDTO other = (RepairApplyExportDTO) o;
|
if (other.canEqual(this)) {
|
Object this$exportSelected = getExportSelected();
|
Object other$exportSelected = other.getExportSelected();
|
if (this$exportSelected == null) {
|
if (other$exportSelected != null) {
|
return false;
|
}
|
} else if (!this$exportSelected.equals(other$exportSelected)) {
|
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$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$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$selectedRecords = getSelectedRecords();
|
Object other$selectedRecords = other.getSelectedRecords();
|
if (this$selectedRecords == null) {
|
if (other$selectedRecords != null) {
|
return false;
|
}
|
} else if (!this$selectedRecords.equals(other$selectedRecords)) {
|
return false;
|
}
|
Object this$keyWord = getKeyWord();
|
Object other$keyWord = other.getKeyWord();
|
return this$keyWord == null ? other$keyWord == null : this$keyWord.equals(other$keyWord);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof RepairApplyExportDTO;
|
}
|
|
public int hashCode() {
|
Object $exportSelected = getExportSelected();
|
int result = (1 * 59) + ($exportSelected == null ? 43 : $exportSelected.hashCode());
|
Object $deviceTypeId = getDeviceTypeId();
|
int result2 = (result * 59) + ($deviceTypeId == null ? 43 : $deviceTypeId.hashCode());
|
Object $deviceId = getDeviceId();
|
int result3 = (result2 * 59) + ($deviceId == null ? 43 : $deviceId.hashCode());
|
Object $applyStatus = getApplyStatus();
|
int result4 = (result3 * 59) + ($applyStatus == null ? 43 : $applyStatus.hashCode());
|
Object $selectedRecords = getSelectedRecords();
|
int result5 = (result4 * 59) + ($selectedRecords == null ? 43 : $selectedRecords.hashCode());
|
Object $keyWord = getKeyWord();
|
return (result5 * 59) + ($keyWord == null ? 43 : $keyWord.hashCode());
|
}
|
|
public String toString() {
|
return "RepairApplyExportDTO(exportSelected=" + getExportSelected() + ", selectedRecords=" + getSelectedRecords() + ", deviceTypeId=" + getDeviceTypeId() + ", keyWord=" + getKeyWord() + ", deviceId=" + getDeviceId() + ", applyStatus=" + getApplyStatus() + ")";
|
}
|
|
public Boolean getExportSelected() {
|
return this.exportSelected;
|
}
|
|
public List<Long> getSelectedRecords() {
|
return this.selectedRecords;
|
}
|
|
public Long getDeviceTypeId() {
|
return this.deviceTypeId;
|
}
|
|
public String getKeyWord() {
|
return this.keyWord;
|
}
|
|
public Long getDeviceId() {
|
return this.deviceId;
|
}
|
|
public Integer getApplyStatus() {
|
return this.applyStatus;
|
}
|
}
|