package com.qianwen.smartman.modules.smis.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
|
public class WareTrayStorageVO implements Serializable {
|
private static final long serialVersionUID = -1001835772921096641L;
|
@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;
|
@ApiModelProperty("托盘编号")
|
private String trayCode;
|
@ApiModelProperty("托盘名称")
|
private String trayName;
|
|
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 void setTrayCode(final String trayCode) {
|
this.trayCode = trayCode;
|
}
|
|
public void setTrayName(final String trayName) {
|
this.trayName = trayName;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof WareTrayStorageVO) {
|
WareTrayStorageVO other = (WareTrayStorageVO) 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();
|
if (this$warehouseStationId == null) {
|
if (other$warehouseStationId != null) {
|
return false;
|
}
|
} else if (!this$warehouseStationId.equals(other$warehouseStationId)) {
|
return false;
|
}
|
Object this$trayCode = getTrayCode();
|
Object other$trayCode = other.getTrayCode();
|
if (this$trayCode == null) {
|
if (other$trayCode != null) {
|
return false;
|
}
|
} else if (!this$trayCode.equals(other$trayCode)) {
|
return false;
|
}
|
Object this$trayName = getTrayName();
|
Object other$trayName = other.getTrayName();
|
return this$trayName == null ? other$trayName == null : this$trayName.equals(other$trayName);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof WareTrayStorageVO;
|
}
|
|
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();
|
int result3 = (result2 * 59) + ($warehouseStationId == null ? 43 : $warehouseStationId.hashCode());
|
Object $trayCode = getTrayCode();
|
int result4 = (result3 * 59) + ($trayCode == null ? 43 : $trayCode.hashCode());
|
Object $trayName = getTrayName();
|
return (result4 * 59) + ($trayName == null ? 43 : $trayName.hashCode());
|
}
|
|
public String toString() {
|
return "WareTrayStorageVO(id=" + getId() + ", trayId=" + getTrayId() + ", warehouseStationId=" + getWarehouseStationId() + ", trayCode=" + getTrayCode() + ", trayName=" + getTrayName() + ")";
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public Long getTrayId() {
|
return this.trayId;
|
}
|
|
public Long getWarehouseStationId() {
|
return this.warehouseStationId;
|
}
|
|
public String getTrayCode() {
|
return this.trayCode;
|
}
|
|
public String getTrayName() {
|
return this.trayName;
|
}
|
}
|