package com.qianwen.smartman.modules.cps.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
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 = "WarehouseStation对象", description = "库区库位")
|
@TableName("blade_warehouse_station")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/entity/WarehouseStation.class */
|
public class WarehouseStation extends BaseEntity {
|
private static final long serialVersionUID = 1;
|
@ApiModelProperty("所属租户")
|
private String tenantId;
|
@ApiModelProperty("库区id")
|
private Long areaId;
|
@ApiModelProperty("库位编号")
|
private String warehouseCode;
|
@ApiModelProperty("库位名称")
|
private String warehouseName;
|
@ApiModelProperty("备注")
|
private String remark;
|
@ApiModelProperty("图片")
|
private String avatar;
|
@TableField(exist = false)
|
@ApiModelProperty("库区名称")
|
private String warehouseAreaName;
|
@TableField(exist = false)
|
@ApiModelProperty("库区编号")
|
private String warehouseAreaCode;
|
|
public WarehouseStation setTenantId(final String tenantId) {
|
this.tenantId = tenantId;
|
return this;
|
}
|
|
public WarehouseStation setAreaId(final Long areaId) {
|
this.areaId = areaId;
|
return this;
|
}
|
|
public WarehouseStation setWarehouseCode(final String warehouseCode) {
|
this.warehouseCode = warehouseCode;
|
return this;
|
}
|
|
public WarehouseStation setWarehouseName(final String warehouseName) {
|
this.warehouseName = warehouseName;
|
return this;
|
}
|
|
public WarehouseStation setRemark(final String remark) {
|
this.remark = remark;
|
return this;
|
}
|
|
public WarehouseStation setAvatar(final String avatar) {
|
this.avatar = avatar;
|
return this;
|
}
|
|
public WarehouseStation setWarehouseAreaName(final String warehouseAreaName) {
|
this.warehouseAreaName = warehouseAreaName;
|
return this;
|
}
|
|
public WarehouseStation setWarehouseAreaCode(final String warehouseAreaCode) {
|
this.warehouseAreaCode = warehouseAreaCode;
|
return this;
|
}
|
|
public String toString() {
|
return "WarehouseStation(tenantId=" + getTenantId() + ", areaId=" + getAreaId() + ", warehouseCode=" + getWarehouseCode() + ", warehouseName=" + getWarehouseName() + ", remark=" + getRemark() + ", avatar=" + getAvatar() + ", warehouseAreaName=" + getWarehouseAreaName() + ", warehouseAreaCode=" + getWarehouseAreaCode() + ")";
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof WarehouseStation) {
|
WarehouseStation other = (WarehouseStation) o;
|
if (other.canEqual(this) && super.equals(o)) {
|
Object this$areaId = getAreaId();
|
Object other$areaId = other.getAreaId();
|
if (this$areaId == null) {
|
if (other$areaId != null) {
|
return false;
|
}
|
} else if (!this$areaId.equals(other$areaId)) {
|
return false;
|
}
|
Object this$tenantId = getTenantId();
|
Object other$tenantId = other.getTenantId();
|
if (this$tenantId == null) {
|
if (other$tenantId != null) {
|
return false;
|
}
|
} else if (!this$tenantId.equals(other$tenantId)) {
|
return false;
|
}
|
Object this$warehouseCode = getWarehouseCode();
|
Object other$warehouseCode = other.getWarehouseCode();
|
if (this$warehouseCode == null) {
|
if (other$warehouseCode != null) {
|
return false;
|
}
|
} else if (!this$warehouseCode.equals(other$warehouseCode)) {
|
return false;
|
}
|
Object this$warehouseName = getWarehouseName();
|
Object other$warehouseName = other.getWarehouseName();
|
if (this$warehouseName == null) {
|
if (other$warehouseName != null) {
|
return false;
|
}
|
} else if (!this$warehouseName.equals(other$warehouseName)) {
|
return false;
|
}
|
Object this$remark = getRemark();
|
Object other$remark = other.getRemark();
|
if (this$remark == null) {
|
if (other$remark != null) {
|
return false;
|
}
|
} else if (!this$remark.equals(other$remark)) {
|
return false;
|
}
|
Object this$avatar = getAvatar();
|
Object other$avatar = other.getAvatar();
|
if (this$avatar == null) {
|
if (other$avatar != null) {
|
return false;
|
}
|
} else if (!this$avatar.equals(other$avatar)) {
|
return false;
|
}
|
Object this$warehouseAreaName = getWarehouseAreaName();
|
Object other$warehouseAreaName = other.getWarehouseAreaName();
|
if (this$warehouseAreaName == null) {
|
if (other$warehouseAreaName != null) {
|
return false;
|
}
|
} else if (!this$warehouseAreaName.equals(other$warehouseAreaName)) {
|
return false;
|
}
|
Object this$warehouseAreaCode = getWarehouseAreaCode();
|
Object other$warehouseAreaCode = other.getWarehouseAreaCode();
|
return this$warehouseAreaCode == null ? other$warehouseAreaCode == null : this$warehouseAreaCode.equals(other$warehouseAreaCode);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof WarehouseStation;
|
}
|
|
public int hashCode() {
|
int result = super.hashCode();
|
Object $areaId = getAreaId();
|
int result2 = (result * 59) + ($areaId == null ? 43 : $areaId.hashCode());
|
Object $tenantId = getTenantId();
|
int result3 = (result2 * 59) + ($tenantId == null ? 43 : $tenantId.hashCode());
|
Object $warehouseCode = getWarehouseCode();
|
int result4 = (result3 * 59) + ($warehouseCode == null ? 43 : $warehouseCode.hashCode());
|
Object $warehouseName = getWarehouseName();
|
int result5 = (result4 * 59) + ($warehouseName == null ? 43 : $warehouseName.hashCode());
|
Object $remark = getRemark();
|
int result6 = (result5 * 59) + ($remark == null ? 43 : $remark.hashCode());
|
Object $avatar = getAvatar();
|
int result7 = (result6 * 59) + ($avatar == null ? 43 : $avatar.hashCode());
|
Object $warehouseAreaName = getWarehouseAreaName();
|
int result8 = (result7 * 59) + ($warehouseAreaName == null ? 43 : $warehouseAreaName.hashCode());
|
Object $warehouseAreaCode = getWarehouseAreaCode();
|
return (result8 * 59) + ($warehouseAreaCode == null ? 43 : $warehouseAreaCode.hashCode());
|
}
|
|
public String getTenantId() {
|
return this.tenantId;
|
}
|
|
public Long getAreaId() {
|
return this.areaId;
|
}
|
|
public String getWarehouseCode() {
|
return this.warehouseCode;
|
}
|
|
public String getWarehouseName() {
|
return this.warehouseName;
|
}
|
|
public String getRemark() {
|
return this.remark;
|
}
|
|
public String getAvatar() {
|
return this.avatar;
|
}
|
|
public String getWarehouseAreaName() {
|
return this.warehouseAreaName;
|
}
|
|
public String getWarehouseAreaCode() {
|
return this.warehouseAreaCode;
|
}
|
}
|