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/RepairRecordSearchDTO.class */ public class RepairRecordSearchDTO implements Serializable { @ApiModelProperty("是否高级筛选") private Boolean filterPlus; @ApiModelProperty("查询条件字典") private Map param; @JsonSerialize(using = ToStringSerializer.class) @ApiModelProperty("设备类型id") private Long deviceTypeId; @ApiModelProperty("维修状态") private Integer recordStatus; @ApiModelProperty("关键词,维修单号,申请单号,设备编码,设备名称模糊匹配") private String keyWords; public RepairRecordSearchDTO setFilterPlus(final Boolean filterPlus) { this.filterPlus = filterPlus; return this; } public RepairRecordSearchDTO setParam(final Map param) { this.param = param; return this; } public RepairRecordSearchDTO setDeviceTypeId(final Long deviceTypeId) { this.deviceTypeId = deviceTypeId; return this; } public RepairRecordSearchDTO setRecordStatus(final Integer recordStatus) { this.recordStatus = recordStatus; return this; } public RepairRecordSearchDTO setKeyWords(final String keyWords) { this.keyWords = keyWords; return this; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof RepairRecordSearchDTO) { RepairRecordSearchDTO other = (RepairRecordSearchDTO) 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$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$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 RepairRecordSearchDTO; } 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 $recordStatus = getRecordStatus(); int result3 = (result2 * 59) + ($recordStatus == null ? 43 : $recordStatus.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 "RepairRecordSearchDTO(filterPlus=" + getFilterPlus() + ", param=" + getParam() + ", deviceTypeId=" + getDeviceTypeId() + ", recordStatus=" + getRecordStatus() + ", keyWords=" + getKeyWords() + ")"; } public Boolean getFilterPlus() { return this.filterPlus; } public Map getParam() { return this.param; } public Long getDeviceTypeId() { return this.deviceTypeId; } public Integer getRecordStatus() { return this.recordStatus; } public String getKeyWords() { return this.keyWords; } }