package com.qianwen.smartman.modules.tpm.dto;
|
|
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.Map;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/tpm/dto/RepairApplySearchDTO.class */
|
public class RepairApplySearchDTO implements Serializable {
|
@ApiModelProperty("是否高级筛选")
|
private Boolean filterPlus;
|
@ApiModelProperty("查询条件字典")
|
private Map<String, Object> param;
|
@JsonSerialize(using = ToStringSerializer.class)
|
@ApiModelProperty("机器类型id")
|
private Long deviceTypeId;
|
@ApiModelProperty("申请单状态: 待执行 1 执行中 2 待确认 3 已确认 4")
|
private Integer applyStatus;
|
@ApiModelProperty("关键词,申请单号,设备编码,设备名称模糊匹配")
|
private String keyWords;
|
|
public RepairApplySearchDTO setFilterPlus(final Boolean filterPlus) {
|
this.filterPlus = filterPlus;
|
return this;
|
}
|
|
public RepairApplySearchDTO setParam(final Map<String, Object> param) {
|
this.param = param;
|
return this;
|
}
|
|
public RepairApplySearchDTO setDeviceTypeId(final Long deviceTypeId) {
|
this.deviceTypeId = deviceTypeId;
|
return this;
|
}
|
|
public RepairApplySearchDTO setApplyStatus(final Integer applyStatus) {
|
this.applyStatus = applyStatus;
|
return this;
|
}
|
|
public RepairApplySearchDTO setKeyWords(final String keyWords) {
|
this.keyWords = keyWords;
|
return this;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof RepairApplySearchDTO) {
|
RepairApplySearchDTO other = (RepairApplySearchDTO) o;
|
if (other.canEqual(this)) {
|
Object this$filterPlus = getFilterPlus();
|
Object other$filterPlus = other.getFilterPlus();
|
if (this$filterPlus == null) {
|
if (other$filterPlus != null) {
|
return false;
|
}
|
} else if (!this$filterPlus.equals(other$filterPlus)) {
|
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$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$param = getParam();
|
Object other$param = other.getParam();
|
if (this$param == null) {
|
if (other$param != null) {
|
return false;
|
}
|
} else if (!this$param.equals(other$param)) {
|
return false;
|
}
|
Object this$keyWords = getKeyWords();
|
Object other$keyWords = other.getKeyWords();
|
return this$keyWords == null ? other$keyWords == null : this$keyWords.equals(other$keyWords);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof RepairApplySearchDTO;
|
}
|
|
public int hashCode() {
|
Object $filterPlus = getFilterPlus();
|
int result = (1 * 59) + ($filterPlus == null ? 43 : $filterPlus.hashCode());
|
Object $deviceTypeId = getDeviceTypeId();
|
int result2 = (result * 59) + ($deviceTypeId == null ? 43 : $deviceTypeId.hashCode());
|
Object $applyStatus = getApplyStatus();
|
int result3 = (result2 * 59) + ($applyStatus == null ? 43 : $applyStatus.hashCode());
|
Object $param = getParam();
|
int result4 = (result3 * 59) + ($param == null ? 43 : $param.hashCode());
|
Object $keyWords = getKeyWords();
|
return (result4 * 59) + ($keyWords == null ? 43 : $keyWords.hashCode());
|
}
|
|
public String toString() {
|
return "RepairApplySearchDTO(filterPlus=" + getFilterPlus() + ", param=" + getParam() + ", deviceTypeId=" + getDeviceTypeId() + ", applyStatus=" + getApplyStatus() + ", keyWords=" + getKeyWords() + ")";
|
}
|
|
public Boolean getFilterPlus() {
|
return this.filterPlus;
|
}
|
|
public Map<String, Object> getParam() {
|
return this.param;
|
}
|
|
public Long getDeviceTypeId() {
|
return this.deviceTypeId;
|
}
|
|
public Integer getApplyStatus() {
|
return this.applyStatus;
|
}
|
|
public String getKeyWords() {
|
return this.keyWords;
|
}
|
}
|