package com.qianwen.smartman.modules.cps.dto;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/dto/TrayWarehouseAreaDTO.class */
|
public class TrayWarehouseAreaDTO implements Serializable {
|
private static final long serialVersionUID = -3509847452596842033L;
|
@ApiModelProperty("托盘编号")
|
private String trayCode;
|
@ApiModelProperty("库区编号")
|
private String areaCode;
|
|
public void setTrayCode(final String trayCode) {
|
this.trayCode = trayCode;
|
}
|
|
public void setAreaCode(final String areaCode) {
|
this.areaCode = areaCode;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof TrayWarehouseAreaDTO) {
|
TrayWarehouseAreaDTO other = (TrayWarehouseAreaDTO) o;
|
if (other.canEqual(this)) {
|
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$areaCode = getAreaCode();
|
Object other$areaCode = other.getAreaCode();
|
return this$areaCode == null ? other$areaCode == null : this$areaCode.equals(other$areaCode);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof TrayWarehouseAreaDTO;
|
}
|
|
public int hashCode() {
|
Object $trayCode = getTrayCode();
|
int result = (1 * 59) + ($trayCode == null ? 43 : $trayCode.hashCode());
|
Object $areaCode = getAreaCode();
|
return (result * 59) + ($areaCode == null ? 43 : $areaCode.hashCode());
|
}
|
|
public String toString() {
|
return "TrayWarehouseAreaDTO(trayCode=" + getTrayCode() + ", areaCode=" + getAreaCode() + ")";
|
}
|
|
public String getTrayCode() {
|
return this.trayCode;
|
}
|
|
public String getAreaCode() {
|
return this.areaCode;
|
}
|
}
|