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/RepairRecordExportDTO.class */
|
public class RepairRecordExportDTO 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")
|
private Integer recordStatus;
|
|
public RepairRecordExportDTO setExportSelected(final Boolean exportSelected) {
|
this.exportSelected = exportSelected;
|
return this;
|
}
|
|
public RepairRecordExportDTO setSelectedRecords(final List<Long> selectedRecords) {
|
this.selectedRecords = selectedRecords;
|
return this;
|
}
|
|
public RepairRecordExportDTO setDeviceTypeId(final Long deviceTypeId) {
|
this.deviceTypeId = deviceTypeId;
|
return this;
|
}
|
|
public RepairRecordExportDTO setKeyWord(final String keyWord) {
|
this.keyWord = keyWord;
|
return this;
|
}
|
|
public RepairRecordExportDTO setDeviceId(final Long deviceId) {
|
this.deviceId = deviceId;
|
return this;
|
}
|
|
public RepairRecordExportDTO setRecordStatus(final Integer recordStatus) {
|
this.recordStatus = recordStatus;
|
return this;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof RepairRecordExportDTO) {
|
RepairRecordExportDTO other = (RepairRecordExportDTO) 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$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$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 RepairRecordExportDTO;
|
}
|
|
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 $recordStatus = getRecordStatus();
|
int result4 = (result3 * 59) + ($recordStatus == null ? 43 : $recordStatus.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 "RepairRecordExportDTO(exportSelected=" + getExportSelected() + ", selectedRecords=" + getSelectedRecords() + ", deviceTypeId=" + getDeviceTypeId() + ", keyWord=" + getKeyWord() + ", deviceId=" + getDeviceId() + ", recordStatus=" + getRecordStatus() + ")";
|
}
|
|
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 getRecordStatus() {
|
return this.recordStatus;
|
}
|
}
|