package com.qianwen.smartman.modules.smis.vo; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; @ApiModel(value = "TrayStorageVo对象", description = "托盘存放") public class TrayStorageVO implements Serializable { private static final long serialVersionUID = 6527060691456888861L; @ApiModelProperty(value = "主键", dataType = "java.lang.String") private Long id; @ApiModelProperty(value = "托盘id", dataType = "java.lang.String") private Long trayId; @ApiModelProperty(value = "库位id", dataType = "java.lang.String") private Long warehouseStationId; public void setId(final Long id) { this.id = id; } public void setTrayId(final Long trayId) { this.trayId = trayId; } public void setWarehouseStationId(final Long warehouseStationId) { this.warehouseStationId = warehouseStationId; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof TrayStorageVO) { TrayStorageVO other = (TrayStorageVO) o; if (other.canEqual(this)) { Object this$id = getId(); Object other$id = other.getId(); if (this$id == null) { if (other$id != null) { return false; } } else if (!this$id.equals(other$id)) { return false; } Object this$trayId = getTrayId(); Object other$trayId = other.getTrayId(); if (this$trayId == null) { if (other$trayId != null) { return false; } } else if (!this$trayId.equals(other$trayId)) { return false; } Object this$warehouseStationId = getWarehouseStationId(); Object other$warehouseStationId = other.getWarehouseStationId(); return this$warehouseStationId == null ? other$warehouseStationId == null : this$warehouseStationId.equals(other$warehouseStationId); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof TrayStorageVO; } public int hashCode() { Object $id = getId(); int result = (1 * 59) + ($id == null ? 43 : $id.hashCode()); Object $trayId = getTrayId(); int result2 = (result * 59) + ($trayId == null ? 43 : $trayId.hashCode()); Object $warehouseStationId = getWarehouseStationId(); return (result2 * 59) + ($warehouseStationId == null ? 43 : $warehouseStationId.hashCode()); } public String toString() { return "TrayStorageVO(id=" + getId() + ", trayId=" + getTrayId() + ", warehouseStationId=" + getWarehouseStationId() + ")"; } public Long getId() { return this.id; } public Long getTrayId() { return this.trayId; } public Long getWarehouseStationId() { return this.warehouseStationId; } }