package com.qianwen.smartman.modules.cps.vo;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
|
@ApiModel(value = "MaterialStorageVo对象", description = "物料存放")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/MaterialStorageVO.class */
|
public class MaterialStorageVO implements Serializable {
|
private static final long serialVersionUID = 8660992862522967181L;
|
@ApiModelProperty("物料id")
|
private Long materialId;
|
@ApiModelProperty("库位id")
|
private Long warehouseStationId;
|
private Long id;
|
|
public void setMaterialId(final Long materialId) {
|
this.materialId = materialId;
|
}
|
|
public void setWarehouseStationId(final Long warehouseStationId) {
|
this.warehouseStationId = warehouseStationId;
|
}
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof MaterialStorageVO) {
|
MaterialStorageVO other = (MaterialStorageVO) o;
|
if (other.canEqual(this)) {
|
Object this$materialId = getMaterialId();
|
Object other$materialId = other.getMaterialId();
|
if (this$materialId == null) {
|
if (other$materialId != null) {
|
return false;
|
}
|
} else if (!this$materialId.equals(other$materialId)) {
|
return false;
|
}
|
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$id = getId();
|
Object other$id = other.getId();
|
return this$id == null ? other$id == null : this$id.equals(other$id);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof MaterialStorageVO;
|
}
|
|
public int hashCode() {
|
Object $materialId = getMaterialId();
|
int result = (1 * 59) + ($materialId == null ? 43 : $materialId.hashCode());
|
Object $warehouseStationId = getWarehouseStationId();
|
int result2 = (result * 59) + ($warehouseStationId == null ? 43 : $warehouseStationId.hashCode());
|
Object $id = getId();
|
return (result2 * 59) + ($id == null ? 43 : $id.hashCode());
|
}
|
|
public String toString() {
|
return "MaterialStorageVO(materialId=" + getMaterialId() + ", warehouseStationId=" + getWarehouseStationId() + ", id=" + getId() + ")";
|
}
|
|
public Long getMaterialId() {
|
return this.materialId;
|
}
|
|
public Long getWarehouseStationId() {
|
return this.warehouseStationId;
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
}
|