package com.qianwen.smartman.modules.cps.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import java.math.BigDecimal;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/WareMaterialStorageVO.class */
|
public class WareMaterialStorageVO implements Serializable {
|
private static final long serialVersionUID = -2803441825486796594L;
|
@ApiModelProperty(value = "主键", dataType = "java.lang.String")
|
private Long id;
|
@ApiModelProperty(value = "物料id", dataType = "java.lang.String")
|
private Long materialId;
|
@ApiModelProperty(value = "库位id", dataType = "java.lang.String")
|
private Long warehouseStationId;
|
@ApiModelProperty("物料编号")
|
private String materialCode;
|
@ApiModelProperty("物料名称")
|
private String materialName;
|
@ApiModelProperty("物料规格")
|
private String materialStandardModel;
|
@ApiModelProperty("物料单位")
|
private String materialUnit;
|
@ApiModelProperty(value = "物料类型id", dataType = "java.lang.String")
|
private Long typeId;
|
@ApiModelProperty("物料类型编码")
|
private String typeCode;
|
@ApiModelProperty("物料类型名称")
|
private String typeName;
|
@ApiModelProperty("物料属性")
|
private Integer property;
|
@ApiModelProperty("是否必检")
|
private Integer isMustCheck;
|
@ApiModelProperty("额定库存")
|
private BigDecimal lowerLimit;
|
@ApiModelProperty("安全库存")
|
private BigDecimal upperLimit;
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
public void setMaterialId(final Long materialId) {
|
this.materialId = materialId;
|
}
|
|
public void setWarehouseStationId(final Long warehouseStationId) {
|
this.warehouseStationId = warehouseStationId;
|
}
|
|
public void setMaterialCode(final String materialCode) {
|
this.materialCode = materialCode;
|
}
|
|
public void setMaterialName(final String materialName) {
|
this.materialName = materialName;
|
}
|
|
public void setMaterialStandardModel(final String materialStandardModel) {
|
this.materialStandardModel = materialStandardModel;
|
}
|
|
public void setMaterialUnit(final String materialUnit) {
|
this.materialUnit = materialUnit;
|
}
|
|
public void setTypeId(final Long typeId) {
|
this.typeId = typeId;
|
}
|
|
public void setTypeCode(final String typeCode) {
|
this.typeCode = typeCode;
|
}
|
|
public void setTypeName(final String typeName) {
|
this.typeName = typeName;
|
}
|
|
public void setProperty(final Integer property) {
|
this.property = property;
|
}
|
|
public void setIsMustCheck(final Integer isMustCheck) {
|
this.isMustCheck = isMustCheck;
|
}
|
|
public void setLowerLimit(final BigDecimal lowerLimit) {
|
this.lowerLimit = lowerLimit;
|
}
|
|
public void setUpperLimit(final BigDecimal upperLimit) {
|
this.upperLimit = upperLimit;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof WareMaterialStorageVO) {
|
WareMaterialStorageVO other = (WareMaterialStorageVO) 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$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$typeId = getTypeId();
|
Object other$typeId = other.getTypeId();
|
if (this$typeId == null) {
|
if (other$typeId != null) {
|
return false;
|
}
|
} else if (!this$typeId.equals(other$typeId)) {
|
return false;
|
}
|
Object this$property = getProperty();
|
Object other$property = other.getProperty();
|
if (this$property == null) {
|
if (other$property != null) {
|
return false;
|
}
|
} else if (!this$property.equals(other$property)) {
|
return false;
|
}
|
Object this$isMustCheck = getIsMustCheck();
|
Object other$isMustCheck = other.getIsMustCheck();
|
if (this$isMustCheck == null) {
|
if (other$isMustCheck != null) {
|
return false;
|
}
|
} else if (!this$isMustCheck.equals(other$isMustCheck)) {
|
return false;
|
}
|
Object this$materialCode = getMaterialCode();
|
Object other$materialCode = other.getMaterialCode();
|
if (this$materialCode == null) {
|
if (other$materialCode != null) {
|
return false;
|
}
|
} else if (!this$materialCode.equals(other$materialCode)) {
|
return false;
|
}
|
Object this$materialName = getMaterialName();
|
Object other$materialName = other.getMaterialName();
|
if (this$materialName == null) {
|
if (other$materialName != null) {
|
return false;
|
}
|
} else if (!this$materialName.equals(other$materialName)) {
|
return false;
|
}
|
Object this$materialStandardModel = getMaterialStandardModel();
|
Object other$materialStandardModel = other.getMaterialStandardModel();
|
if (this$materialStandardModel == null) {
|
if (other$materialStandardModel != null) {
|
return false;
|
}
|
} else if (!this$materialStandardModel.equals(other$materialStandardModel)) {
|
return false;
|
}
|
Object this$materialUnit = getMaterialUnit();
|
Object other$materialUnit = other.getMaterialUnit();
|
if (this$materialUnit == null) {
|
if (other$materialUnit != null) {
|
return false;
|
}
|
} else if (!this$materialUnit.equals(other$materialUnit)) {
|
return false;
|
}
|
Object this$typeCode = getTypeCode();
|
Object other$typeCode = other.getTypeCode();
|
if (this$typeCode == null) {
|
if (other$typeCode != null) {
|
return false;
|
}
|
} else if (!this$typeCode.equals(other$typeCode)) {
|
return false;
|
}
|
Object this$typeName = getTypeName();
|
Object other$typeName = other.getTypeName();
|
if (this$typeName == null) {
|
if (other$typeName != null) {
|
return false;
|
}
|
} else if (!this$typeName.equals(other$typeName)) {
|
return false;
|
}
|
Object this$lowerLimit = getLowerLimit();
|
Object other$lowerLimit = other.getLowerLimit();
|
if (this$lowerLimit == null) {
|
if (other$lowerLimit != null) {
|
return false;
|
}
|
} else if (!this$lowerLimit.equals(other$lowerLimit)) {
|
return false;
|
}
|
Object this$upperLimit = getUpperLimit();
|
Object other$upperLimit = other.getUpperLimit();
|
return this$upperLimit == null ? other$upperLimit == null : this$upperLimit.equals(other$upperLimit);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof WareMaterialStorageVO;
|
}
|
|
public int hashCode() {
|
Object $id = getId();
|
int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $materialId = getMaterialId();
|
int result2 = (result * 59) + ($materialId == null ? 43 : $materialId.hashCode());
|
Object $warehouseStationId = getWarehouseStationId();
|
int result3 = (result2 * 59) + ($warehouseStationId == null ? 43 : $warehouseStationId.hashCode());
|
Object $typeId = getTypeId();
|
int result4 = (result3 * 59) + ($typeId == null ? 43 : $typeId.hashCode());
|
Object $property = getProperty();
|
int result5 = (result4 * 59) + ($property == null ? 43 : $property.hashCode());
|
Object $isMustCheck = getIsMustCheck();
|
int result6 = (result5 * 59) + ($isMustCheck == null ? 43 : $isMustCheck.hashCode());
|
Object $materialCode = getMaterialCode();
|
int result7 = (result6 * 59) + ($materialCode == null ? 43 : $materialCode.hashCode());
|
Object $materialName = getMaterialName();
|
int result8 = (result7 * 59) + ($materialName == null ? 43 : $materialName.hashCode());
|
Object $materialStandardModel = getMaterialStandardModel();
|
int result9 = (result8 * 59) + ($materialStandardModel == null ? 43 : $materialStandardModel.hashCode());
|
Object $materialUnit = getMaterialUnit();
|
int result10 = (result9 * 59) + ($materialUnit == null ? 43 : $materialUnit.hashCode());
|
Object $typeCode = getTypeCode();
|
int result11 = (result10 * 59) + ($typeCode == null ? 43 : $typeCode.hashCode());
|
Object $typeName = getTypeName();
|
int result12 = (result11 * 59) + ($typeName == null ? 43 : $typeName.hashCode());
|
Object $lowerLimit = getLowerLimit();
|
int result13 = (result12 * 59) + ($lowerLimit == null ? 43 : $lowerLimit.hashCode());
|
Object $upperLimit = getUpperLimit();
|
return (result13 * 59) + ($upperLimit == null ? 43 : $upperLimit.hashCode());
|
}
|
|
public String toString() {
|
return "WareMaterialStorageVO(id=" + getId() + ", materialId=" + getMaterialId() + ", warehouseStationId=" + getWarehouseStationId() + ", materialCode=" + getMaterialCode() + ", materialName=" + getMaterialName() + ", materialStandardModel=" + getMaterialStandardModel() + ", materialUnit=" + getMaterialUnit() + ", typeId=" + getTypeId() + ", typeCode=" + getTypeCode() + ", typeName=" + getTypeName() + ", property=" + getProperty() + ", isMustCheck=" + getIsMustCheck() + ", lowerLimit=" + getLowerLimit() + ", upperLimit=" + getUpperLimit() + ")";
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public Long getMaterialId() {
|
return this.materialId;
|
}
|
|
public Long getWarehouseStationId() {
|
return this.warehouseStationId;
|
}
|
|
public String getMaterialCode() {
|
return this.materialCode;
|
}
|
|
public String getMaterialName() {
|
return this.materialName;
|
}
|
|
public String getMaterialStandardModel() {
|
return this.materialStandardModel;
|
}
|
|
public String getMaterialUnit() {
|
return this.materialUnit;
|
}
|
|
public Long getTypeId() {
|
return this.typeId;
|
}
|
|
public String getTypeCode() {
|
return this.typeCode;
|
}
|
|
public String getTypeName() {
|
return this.typeName;
|
}
|
|
public Integer getProperty() {
|
return this.property;
|
}
|
|
public Integer getIsMustCheck() {
|
return this.isMustCheck;
|
}
|
|
public BigDecimal getLowerLimit() {
|
return this.lowerLimit;
|
}
|
|
public BigDecimal getUpperLimit() {
|
return this.upperLimit;
|
}
|
}
|