package com.qianwen.smartman.modules.smis.vo; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.Map; public class MaintainRecordSearchVO implements Serializable { @ApiModelProperty(value = "是否高级筛选", required = true) private Boolean filterPlus; @ApiModelProperty("查询条件字典") private Map param; @ApiModelProperty(value = "机器类型ID", dataType = "java.lang.String") private Long deviceTypeId; @ApiModelProperty("关键词") private String keyWord; @ApiModelProperty("保养记录状态") private Integer recordStatus; @ApiModelProperty(value = "设备ID", dataType = "java.lang.String") private Long deviceId; public MaintainRecordSearchVO setFilterPlus(final Boolean filterPlus) { this.filterPlus = filterPlus; return this; } public MaintainRecordSearchVO setParam(final Map param) { this.param = param; return this; } public MaintainRecordSearchVO setDeviceTypeId(final Long deviceTypeId) { this.deviceTypeId = deviceTypeId; return this; } public MaintainRecordSearchVO setKeyWord(final String keyWord) { this.keyWord = keyWord; return this; } public MaintainRecordSearchVO setRecordStatus(final Integer recordStatus) { this.recordStatus = recordStatus; return this; } public MaintainRecordSearchVO setDeviceId(final Long deviceId) { this.deviceId = deviceId; return this; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof MaintainRecordSearchVO) { MaintainRecordSearchVO other = (MaintainRecordSearchVO) 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$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$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$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 MaintainRecordSearchVO; } 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 $deviceId = getDeviceId(); int result4 = (result3 * 59) + ($deviceId == null ? 43 : $deviceId.hashCode()); Object $param = getParam(); int result5 = (result4 * 59) + ($param == null ? 43 : $param.hashCode()); Object $keyWord = getKeyWord(); return (result5 * 59) + ($keyWord == null ? 43 : $keyWord.hashCode()); } public String toString() { return "MaintainRecordSearchVO(filterPlus=" + getFilterPlus() + ", param=" + getParam() + ", deviceTypeId=" + getDeviceTypeId() + ", keyWord=" + getKeyWord() + ", recordStatus=" + getRecordStatus() + ", deviceId=" + getDeviceId() + ")"; } public Boolean getFilterPlus() { return this.filterPlus; } public Map getParam() { return this.param; } public Long getDeviceTypeId() { return this.deviceTypeId; } public String getKeyWord() { return this.keyWord; } public Integer getRecordStatus() { return this.recordStatus; } public Long getDeviceId() { return this.deviceId; } }