package com.qianwen.smartman.modules.cps.excel;
|
|
import com.alibaba.excel.annotation.ExcelIgnore;
|
import com.alibaba.excel.annotation.ExcelProperty;
|
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/excel/MaterialExcel.class */
|
public class MaterialExcel implements Serializable {
|
private static final long serialVersionUID = 9194930913816289956L;
|
@ExcelProperty({"物料编码"})
|
private String code;
|
@ExcelProperty({"物料名称"})
|
private String name;
|
@ExcelProperty({"物料类型编码"})
|
private String typeCode;
|
@ExcelProperty({"物料类型名称"})
|
private String typeName;
|
@ExcelProperty({"物料属性"})
|
private String propertyName;
|
@ExcelProperty({"额定库存"})
|
private BigDecimal lowerLimit;
|
@ExcelProperty({"安全库存"})
|
private BigDecimal upperLimit;
|
@ExcelProperty({"是否必检"})
|
private String isMustCheckName;
|
@ExcelProperty({"单位"})
|
private String unit;
|
@ExcelProperty({"材质"})
|
private String stuff;
|
@ExcelProperty({"物料规格"})
|
private String standardModel;
|
@ExcelIgnore
|
@ApiModelProperty("类型id")
|
private Long typeId;
|
@ExcelIgnore
|
@ApiModelProperty("是否必检:0-非必检,1-必检")
|
private Integer isMustCheck;
|
@ExcelIgnore
|
@ApiModelProperty("物料属性:1-原材料、2-半成品、3-成品、4-备品备件、5-辅助用品、9-其它")
|
private Integer property;
|
|
public void setCode(final String code) {
|
this.code = code;
|
}
|
|
public void setName(final String name) {
|
this.name = name;
|
}
|
|
public void setTypeCode(final String typeCode) {
|
this.typeCode = typeCode;
|
}
|
|
public void setTypeName(final String typeName) {
|
this.typeName = typeName;
|
}
|
|
public void setPropertyName(final String propertyName) {
|
this.propertyName = propertyName;
|
}
|
|
public void setLowerLimit(final BigDecimal lowerLimit) {
|
this.lowerLimit = lowerLimit;
|
}
|
|
public void setUpperLimit(final BigDecimal upperLimit) {
|
this.upperLimit = upperLimit;
|
}
|
|
public void setIsMustCheckName(final String isMustCheckName) {
|
this.isMustCheckName = isMustCheckName;
|
}
|
|
public void setUnit(final String unit) {
|
this.unit = unit;
|
}
|
|
public void setStuff(final String stuff) {
|
this.stuff = stuff;
|
}
|
|
public void setStandardModel(final String standardModel) {
|
this.standardModel = standardModel;
|
}
|
|
public void setTypeId(final Long typeId) {
|
this.typeId = typeId;
|
}
|
|
public void setIsMustCheck(final Integer isMustCheck) {
|
this.isMustCheck = isMustCheck;
|
}
|
|
public void setProperty(final Integer property) {
|
this.property = property;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof MaterialExcel) {
|
MaterialExcel other = (MaterialExcel) o;
|
if (other.canEqual(this)) {
|
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$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$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$code = getCode();
|
Object other$code = other.getCode();
|
if (this$code == null) {
|
if (other$code != null) {
|
return false;
|
}
|
} else if (!this$code.equals(other$code)) {
|
return false;
|
}
|
Object this$name = getName();
|
Object other$name = other.getName();
|
if (this$name == null) {
|
if (other$name != null) {
|
return false;
|
}
|
} else if (!this$name.equals(other$name)) {
|
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$propertyName = getPropertyName();
|
Object other$propertyName = other.getPropertyName();
|
if (this$propertyName == null) {
|
if (other$propertyName != null) {
|
return false;
|
}
|
} else if (!this$propertyName.equals(other$propertyName)) {
|
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();
|
if (this$upperLimit == null) {
|
if (other$upperLimit != null) {
|
return false;
|
}
|
} else if (!this$upperLimit.equals(other$upperLimit)) {
|
return false;
|
}
|
Object this$isMustCheckName = getIsMustCheckName();
|
Object other$isMustCheckName = other.getIsMustCheckName();
|
if (this$isMustCheckName == null) {
|
if (other$isMustCheckName != null) {
|
return false;
|
}
|
} else if (!this$isMustCheckName.equals(other$isMustCheckName)) {
|
return false;
|
}
|
Object this$unit = getUnit();
|
Object other$unit = other.getUnit();
|
if (this$unit == null) {
|
if (other$unit != null) {
|
return false;
|
}
|
} else if (!this$unit.equals(other$unit)) {
|
return false;
|
}
|
Object this$stuff = getStuff();
|
Object other$stuff = other.getStuff();
|
if (this$stuff == null) {
|
if (other$stuff != null) {
|
return false;
|
}
|
} else if (!this$stuff.equals(other$stuff)) {
|
return false;
|
}
|
Object this$standardModel = getStandardModel();
|
Object other$standardModel = other.getStandardModel();
|
return this$standardModel == null ? other$standardModel == null : this$standardModel.equals(other$standardModel);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof MaterialExcel;
|
}
|
|
public int hashCode() {
|
Object $typeId = getTypeId();
|
int result = (1 * 59) + ($typeId == null ? 43 : $typeId.hashCode());
|
Object $isMustCheck = getIsMustCheck();
|
int result2 = (result * 59) + ($isMustCheck == null ? 43 : $isMustCheck.hashCode());
|
Object $property = getProperty();
|
int result3 = (result2 * 59) + ($property == null ? 43 : $property.hashCode());
|
Object $code = getCode();
|
int result4 = (result3 * 59) + ($code == null ? 43 : $code.hashCode());
|
Object $name = getName();
|
int result5 = (result4 * 59) + ($name == null ? 43 : $name.hashCode());
|
Object $typeCode = getTypeCode();
|
int result6 = (result5 * 59) + ($typeCode == null ? 43 : $typeCode.hashCode());
|
Object $typeName = getTypeName();
|
int result7 = (result6 * 59) + ($typeName == null ? 43 : $typeName.hashCode());
|
Object $propertyName = getPropertyName();
|
int result8 = (result7 * 59) + ($propertyName == null ? 43 : $propertyName.hashCode());
|
Object $lowerLimit = getLowerLimit();
|
int result9 = (result8 * 59) + ($lowerLimit == null ? 43 : $lowerLimit.hashCode());
|
Object $upperLimit = getUpperLimit();
|
int result10 = (result9 * 59) + ($upperLimit == null ? 43 : $upperLimit.hashCode());
|
Object $isMustCheckName = getIsMustCheckName();
|
int result11 = (result10 * 59) + ($isMustCheckName == null ? 43 : $isMustCheckName.hashCode());
|
Object $unit = getUnit();
|
int result12 = (result11 * 59) + ($unit == null ? 43 : $unit.hashCode());
|
Object $stuff = getStuff();
|
int result13 = (result12 * 59) + ($stuff == null ? 43 : $stuff.hashCode());
|
Object $standardModel = getStandardModel();
|
return (result13 * 59) + ($standardModel == null ? 43 : $standardModel.hashCode());
|
}
|
|
public String toString() {
|
return "MaterialExcel(code=" + getCode() + ", name=" + getName() + ", typeCode=" + getTypeCode() + ", typeName=" + getTypeName() + ", propertyName=" + getPropertyName() + ", lowerLimit=" + getLowerLimit() + ", upperLimit=" + getUpperLimit() + ", isMustCheckName=" + getIsMustCheckName() + ", unit=" + getUnit() + ", stuff=" + getStuff() + ", standardModel=" + getStandardModel() + ", typeId=" + getTypeId() + ", isMustCheck=" + getIsMustCheck() + ", property=" + getProperty() + ")";
|
}
|
|
public MaterialExcel(final String code, final String name, final String typeCode, final String typeName, final String propertyName, final BigDecimal lowerLimit, final BigDecimal upperLimit, final String isMustCheckName, final String unit, final String stuff, final String standardModel, final Long typeId, final Integer isMustCheck, final Integer property) {
|
this.code = code;
|
this.name = name;
|
this.typeCode = typeCode;
|
this.typeName = typeName;
|
this.propertyName = propertyName;
|
this.lowerLimit = lowerLimit;
|
this.upperLimit = upperLimit;
|
this.isMustCheckName = isMustCheckName;
|
this.unit = unit;
|
this.stuff = stuff;
|
this.standardModel = standardModel;
|
this.typeId = typeId;
|
this.isMustCheck = isMustCheck;
|
this.property = property;
|
}
|
|
public MaterialExcel() {
|
}
|
|
public String getCode() {
|
return this.code;
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public String getTypeCode() {
|
return this.typeCode;
|
}
|
|
public String getTypeName() {
|
return this.typeName;
|
}
|
|
public String getPropertyName() {
|
return this.propertyName;
|
}
|
|
public BigDecimal getLowerLimit() {
|
return this.lowerLimit;
|
}
|
|
public BigDecimal getUpperLimit() {
|
return this.upperLimit;
|
}
|
|
public String getIsMustCheckName() {
|
return this.isMustCheckName;
|
}
|
|
public String getUnit() {
|
return this.unit;
|
}
|
|
public String getStuff() {
|
return this.stuff;
|
}
|
|
public String getStandardModel() {
|
return this.standardModel;
|
}
|
|
public Long getTypeId() {
|
return this.typeId;
|
}
|
|
public Integer getIsMustCheck() {
|
return this.isMustCheck;
|
}
|
|
public Integer getProperty() {
|
return this.property;
|
}
|
}
|