package com.qianwen.smartman.modules.cps.entity; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import com.qianwen.core.mp.base.BaseEntity; @ApiModel(value = "TrayStorage对象", description = "托盘存放") @TableName("blade_tray_storage") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/entity/TrayStorage.class */ public class TrayStorage extends BaseEntity { private static final long serialVersionUID = 1; @ApiModelProperty("托盘id") private Long trayId; @ApiModelProperty("库位id") private Long warehouseStationId; public TrayStorage setTrayId(final Long trayId) { this.trayId = trayId; return this; } public TrayStorage setWarehouseStationId(final Long warehouseStationId) { this.warehouseStationId = warehouseStationId; return this; } public String toString() { return "TrayStorage(trayId=" + getTrayId() + ", warehouseStationId=" + getWarehouseStationId() + ")"; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof TrayStorage) { TrayStorage other = (TrayStorage) o; if (other.canEqual(this) && super.equals(o)) { 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 TrayStorage; } public int hashCode() { int result = super.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 Long getTrayId() { return this.trayId; } public Long getWarehouseStationId() { return this.warehouseStationId; } }