package com.qianwen.smartman.modules.smis.vo; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.List; import java.util.Map; public class MaintainPlanSearchVO 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(name = "设备Id", dataType = "java.lang.String") private Long deviceId; @ApiModelProperty("计划类型(0:人工创建;1:自动生成)") private Integer isAuto; @ApiModelProperty("计划状态") private List planStatusList; public MaintainPlanSearchVO setFilterPlus(final Boolean filterPlus) { this.filterPlus = filterPlus; return this; } public MaintainPlanSearchVO setParam(final Map param) { this.param = param; return this; } public MaintainPlanSearchVO setDeviceTypeId(final Long deviceTypeId) { this.deviceTypeId = deviceTypeId; return this; } public MaintainPlanSearchVO setKeyWord(final String keyWord) { this.keyWord = keyWord; return this; } public MaintainPlanSearchVO setDeviceId(final Long deviceId) { this.deviceId = deviceId; return this; } public MaintainPlanSearchVO setIsAuto(final Integer isAuto) { this.isAuto = isAuto; return this; } public MaintainPlanSearchVO setPlanStatusList(final List planStatusList) { this.planStatusList = planStatusList; return this; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof MaintainPlanSearchVO) { MaintainPlanSearchVO other = (MaintainPlanSearchVO) 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$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$isAuto = getIsAuto(); Object other$isAuto = other.getIsAuto(); if (this$isAuto == null) { if (other$isAuto != null) { return false; } } else if (!this$isAuto.equals(other$isAuto)) { 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(); if (this$keyWord == null) { if (other$keyWord != null) { return false; } } else if (!this$keyWord.equals(other$keyWord)) { return false; } Object this$planStatusList = getPlanStatusList(); Object other$planStatusList = other.getPlanStatusList(); return this$planStatusList == null ? other$planStatusList == null : this$planStatusList.equals(other$planStatusList); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof MaintainPlanSearchVO; } 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 $deviceId = getDeviceId(); int result3 = (result2 * 59) + ($deviceId == null ? 43 : $deviceId.hashCode()); Object $isAuto = getIsAuto(); int result4 = (result3 * 59) + ($isAuto == null ? 43 : $isAuto.hashCode()); Object $param = getParam(); int result5 = (result4 * 59) + ($param == null ? 43 : $param.hashCode()); Object $keyWord = getKeyWord(); int result6 = (result5 * 59) + ($keyWord == null ? 43 : $keyWord.hashCode()); Object $planStatusList = getPlanStatusList(); return (result6 * 59) + ($planStatusList == null ? 43 : $planStatusList.hashCode()); } public String toString() { return "MaintainPlanSearchVO(filterPlus=" + getFilterPlus() + ", param=" + getParam() + ", deviceTypeId=" + getDeviceTypeId() + ", keyWord=" + getKeyWord() + ", deviceId=" + getDeviceId() + ", isAuto=" + getIsAuto() + ", planStatusList=" + getPlanStatusList() + ")"; } 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 Long getDeviceId() { return this.deviceId; } public Integer getIsAuto() { return this.isAuto; } public List getPlanStatusList() { return this.planStatusList; } }