package com.qianwen.smartman.modules.smis.vo;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import javax.validation.constraints.NotBlank;
|
import javax.validation.constraints.Size;
|
|
@ApiModel(value = "WarehouseStationVo对象", description = "库区库位")
|
public class WarehouseStationVO implements Serializable {
|
private static final long serialVersionUID = 1374261144107185471L;
|
@ApiModelProperty("所属租户")
|
private String tenantId;
|
@ApiModelProperty(value = "库区id", dataType = "java.lang.String")
|
private Long areaId;
|
@ApiModelProperty("库位编号")
|
private String warehouseCode;
|
@NotBlank(message = "cps.warehouse.station.name.can.not.be.empty")
|
@ApiModelProperty("库位名称")
|
@Size(max = 32, message = "库位名称长度不能超过32")
|
private String warehouseName;
|
@ApiModelProperty("备注")
|
private String remark;
|
@ApiModelProperty(value = "id", dataType = "java.lang.String")
|
private Long id;
|
@ApiModelProperty("业务状态")
|
private Integer status;
|
@ApiModelProperty("图片")
|
private String avatar;
|
@ApiModelProperty("库区名称")
|
private String warehouseAreaName;
|
@ApiModelProperty("库区编号")
|
private String warehouseAreaCode;
|
|
public void setTenantId(final String tenantId) {
|
this.tenantId = tenantId;
|
}
|
|
public void setAreaId(final Long areaId) {
|
this.areaId = areaId;
|
}
|
|
public void setWarehouseCode(final String warehouseCode) {
|
this.warehouseCode = warehouseCode;
|
}
|
|
public void setWarehouseName(final String warehouseName) {
|
this.warehouseName = warehouseName;
|
}
|
|
public void setRemark(final String remark) {
|
this.remark = remark;
|
}
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
public void setStatus(final Integer status) {
|
this.status = status;
|
}
|
|
public void setAvatar(final String avatar) {
|
this.avatar = avatar;
|
}
|
|
public void setWarehouseAreaName(final String warehouseAreaName) {
|
this.warehouseAreaName = warehouseAreaName;
|
}
|
|
public void setWarehouseAreaCode(final String warehouseAreaCode) {
|
this.warehouseAreaCode = warehouseAreaCode;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof WarehouseStationVO) {
|
WarehouseStationVO other = (WarehouseStationVO) o;
|
if (other.canEqual(this)) {
|
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$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$status = getStatus();
|
Object other$status = other.getStatus();
|
if (this$status == null) {
|
if (other$status != null) {
|
return false;
|
}
|
} else if (!this$status.equals(other$status)) {
|
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 WarehouseStationVO;
|
}
|
|
public int hashCode() {
|
Object $areaId = getAreaId();
|
int result = (1 * 59) + ($areaId == null ? 43 : $areaId.hashCode());
|
Object $id = getId();
|
int result2 = (result * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $status = getStatus();
|
int result3 = (result2 * 59) + ($status == null ? 43 : $status.hashCode());
|
Object $tenantId = getTenantId();
|
int result4 = (result3 * 59) + ($tenantId == null ? 43 : $tenantId.hashCode());
|
Object $warehouseCode = getWarehouseCode();
|
int result5 = (result4 * 59) + ($warehouseCode == null ? 43 : $warehouseCode.hashCode());
|
Object $warehouseName = getWarehouseName();
|
int result6 = (result5 * 59) + ($warehouseName == null ? 43 : $warehouseName.hashCode());
|
Object $remark = getRemark();
|
int result7 = (result6 * 59) + ($remark == null ? 43 : $remark.hashCode());
|
Object $avatar = getAvatar();
|
int result8 = (result7 * 59) + ($avatar == null ? 43 : $avatar.hashCode());
|
Object $warehouseAreaName = getWarehouseAreaName();
|
int result9 = (result8 * 59) + ($warehouseAreaName == null ? 43 : $warehouseAreaName.hashCode());
|
Object $warehouseAreaCode = getWarehouseAreaCode();
|
return (result9 * 59) + ($warehouseAreaCode == null ? 43 : $warehouseAreaCode.hashCode());
|
}
|
|
public String toString() {
|
return "WarehouseStationVO(tenantId=" + getTenantId() + ", areaId=" + getAreaId() + ", warehouseCode=" + getWarehouseCode() + ", warehouseName=" + getWarehouseName() + ", remark=" + getRemark() + ", id=" + getId() + ", status=" + getStatus() + ", avatar=" + getAvatar() + ", warehouseAreaName=" + getWarehouseAreaName() + ", warehouseAreaCode=" + getWarehouseAreaCode() + ")";
|
}
|
|
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 Long getId() {
|
return this.id;
|
}
|
|
public Integer getStatus() {
|
return this.status;
|
}
|
|
public String getAvatar() {
|
return this.avatar;
|
}
|
|
public String getWarehouseAreaName() {
|
return this.warehouseAreaName;
|
}
|
|
public String getWarehouseAreaCode() {
|
return this.warehouseAreaCode;
|
}
|
}
|