package com.qianwen.smartman.modules.smis.vo; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import javax.validation.constraints.NotBlank; public class WarehouseExportVO implements Serializable { private static final long serialVersionUID = -5923222884069080371L; @ApiModelProperty("库位编号或库位名称") private String keyword; @NotBlank(message = "{cps.warehouse.area.id.can.not.be.null}") @ApiModelProperty(value = "库区id", dataType = "java.lang.String") private Long areaId; public void setKeyword(final String keyword) { this.keyword = keyword; } public void setAreaId(final Long areaId) { this.areaId = areaId; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof WarehouseExportVO) { WarehouseExportVO other = (WarehouseExportVO) o; if (other.canEqual(this)) { Object this$areaId = getAreaId(); Object other$areaId = other.getAreaId(); if (this$areaId == null) { if (other$areaId != null) { return false; } } else if (!this$areaId.equals(other$areaId)) { 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 WarehouseExportVO; } public int hashCode() { Object $areaId = getAreaId(); int result = (1 * 59) + ($areaId == null ? 43 : $areaId.hashCode()); Object $keyword = getKeyword(); return (result * 59) + ($keyword == null ? 43 : $keyword.hashCode()); } public String toString() { return "WarehouseExportVO(keyword=" + getKeyword() + ", areaId=" + getAreaId() + ")"; } public String getKeyword() { return this.keyword; } public Long getAreaId() { return this.areaId; } }