package com.qianwen.smartman.modules.smis.vo; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.List; public class MaterialStorageAddVO implements Serializable { private static final long serialVersionUID = -8795134028440834793L; @ApiModelProperty("物料id") private List materialIds; @ApiModelProperty(value = "库位id", dataType = "java.lang.String") private Long warehouseStationId; public void setMaterialIds(final List materialIds) { this.materialIds = materialIds; } public void setWarehouseStationId(final Long warehouseStationId) { this.warehouseStationId = warehouseStationId; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof MaterialStorageAddVO) { MaterialStorageAddVO other = (MaterialStorageAddVO) o; if (other.canEqual(this)) { Object this$warehouseStationId = getWarehouseStationId(); Object other$warehouseStationId = other.getWarehouseStationId(); if (this$warehouseStationId == null) { if (other$warehouseStationId != null) { return false; } } else if (!this$warehouseStationId.equals(other$warehouseStationId)) { return false; } Object this$materialIds = getMaterialIds(); Object other$materialIds = other.getMaterialIds(); return this$materialIds == null ? other$materialIds == null : this$materialIds.equals(other$materialIds); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof MaterialStorageAddVO; } public int hashCode() { Object $warehouseStationId = getWarehouseStationId(); int result = (1 * 59) + ($warehouseStationId == null ? 43 : $warehouseStationId.hashCode()); Object $materialIds = getMaterialIds(); return (result * 59) + ($materialIds == null ? 43 : $materialIds.hashCode()); } public String toString() { return "MaterialStorageAddVO(materialIds=" + getMaterialIds() + ", warehouseStationId=" + getWarehouseStationId() + ")"; } public List getMaterialIds() { return this.materialIds; } public Long getWarehouseStationId() { return this.warehouseStationId; } }