package com.glacier.frame.entity.basicdatas; import java.math.BigDecimal; import java.util.Date; import com.alibaba.fastjson.annotation.JSONField; public class GoodsList { private String goodsId; private String goodsCode; private String goodsName; private String goodsTypeId; private String goodsSortId; private String warehouseTypeId; private String originalCode; private String specification; private String unit; private String bulkUnit; private BigDecimal packageConRates; private String pricing; private BigDecimal taxRate; private String batchManagement; private String validManagement; private BigDecimal referenceCost; private BigDecimal referenceSalesPrice; private BigDecimal referenceRetailPrice; private BigDecimal salesPrice1; private BigDecimal salesPrice2; private BigDecimal salesPrice3; private BigDecimal salesPrice4; private BigDecimal salesPrice5; private BigDecimal salesPrice6; private BigDecimal salesPrice7; private BigDecimal salesPrice8; private BigDecimal salesPrice9; private BigDecimal salesPrice10; private String image; private String origin; private String manufacturers; private String brands; @JSONField(format="yyyy-MM-dd HH:mm:ss") private Date warrantyStart; @JSONField(format="yyyy-MM-dd HH:mm:ss") private Date warrantyEnd; private String attn; private String department; private String enabled; private String auditor; @JSONField(format="yyyy-MM-dd HH:mm:ss") private Date auditTime; private String auditState; private String auditRemark; private String remark; private String creater; @JSONField(format="yyyy-MM-dd HH:mm:ss") private Date createTime; private String updater; @JSONField(format="yyyy-MM-dd HH:mm:ss") private Date updateTime; private String depDisplay; private String warehouseManagerDisplay; //仓库类型 private String goodsSortDisplay; //货物类型 private String warehouseTypeDisplay; public String getGoodsSortDisplay() { return goodsSortDisplay; } public void setGoodsSortDisplay(String goodsSortDisplay) { this.goodsSortDisplay = goodsSortDisplay; } public String getWarehouseTypeDisplay() { return warehouseTypeDisplay; } public void setWarehouseTypeDisplay(String warehouseTypeDisplay) { this.warehouseTypeDisplay = warehouseTypeDisplay; } public String getDepDisplay() { return depDisplay; } public void setDepDisplay(String depDisplay) { this.depDisplay = depDisplay; } public String getWarehouseManagerDisplay() { return warehouseManagerDisplay; } public void setWarehouseManagerDisplay(String warehouseManagerDisplay) { this.warehouseManagerDisplay = warehouseManagerDisplay; } public String getGoodsId() { return goodsId; } public void setGoodsId(String goodsId) { this.goodsId = goodsId; } public String getGoodsCode() { return goodsCode; } public void setGoodsCode(String goodsCode) { this.goodsCode = goodsCode; } public String getGoodsName() { return goodsName; } public void setGoodsName(String goodsName) { this.goodsName = goodsName; } public String getGoodsTypeId() { return goodsTypeId; } public void setGoodsTypeId(String goodsTypeId) { this.goodsTypeId = goodsTypeId; } public String getGoodsSortId() { return goodsSortId; } public void setGoodsSortId(String goodsSortId) { this.goodsSortId = goodsSortId; } public String getWarehouseTypeId() { return warehouseTypeId; } public void setWarehouseTypeId(String warehouseTypeId) { this.warehouseTypeId = warehouseTypeId; } public String getOriginalCode() { return originalCode; } public void setOriginalCode(String originalCode) { this.originalCode = originalCode; } public String getSpecification() { return specification; } public void setSpecification(String specification) { this.specification = specification; } public String getUnit() { return unit; } public void setUnit(String unit) { this.unit = unit; } public String getBulkUnit() { return bulkUnit; } public void setBulkUnit(String bulkUnit) { this.bulkUnit = bulkUnit; } public BigDecimal getPackageConRates() { return packageConRates; } public void setPackageConRates(BigDecimal packageConRates) { this.packageConRates = packageConRates; } public String getPricing() { return pricing; } public void setPricing(String pricing) { this.pricing = pricing; } public BigDecimal getTaxRate() { return taxRate; } public void setTaxRate(BigDecimal taxRate) { this.taxRate = taxRate; } public String getBatchManagement() { return batchManagement; } public void setBatchManagement(String batchManagement) { this.batchManagement = batchManagement; } public String getValidManagement() { return validManagement; } public void setValidManagement(String validManagement) { this.validManagement = validManagement; } public BigDecimal getReferenceCost() { return referenceCost; } public void setReferenceCost(BigDecimal referenceCost) { this.referenceCost = referenceCost; } public BigDecimal getReferenceSalesPrice() { return referenceSalesPrice; } public void setReferenceSalesPrice(BigDecimal referenceSalesPrice) { this.referenceSalesPrice = referenceSalesPrice; } public BigDecimal getReferenceRetailPrice() { return referenceRetailPrice; } public void setReferenceRetailPrice(BigDecimal referenceRetailPrice) { this.referenceRetailPrice = referenceRetailPrice; } public BigDecimal getSalesPrice1() { return salesPrice1; } public void setSalesPrice1(BigDecimal salesPrice1) { this.salesPrice1 = salesPrice1; } public BigDecimal getSalesPrice2() { return salesPrice2; } public void setSalesPrice2(BigDecimal salesPrice2) { this.salesPrice2 = salesPrice2; } public BigDecimal getSalesPrice3() { return salesPrice3; } public void setSalesPrice3(BigDecimal salesPrice3) { this.salesPrice3 = salesPrice3; } public BigDecimal getSalesPrice4() { return salesPrice4; } public void setSalesPrice4(BigDecimal salesPrice4) { this.salesPrice4 = salesPrice4; } public BigDecimal getSalesPrice5() { return salesPrice5; } public void setSalesPrice5(BigDecimal salesPrice5) { this.salesPrice5 = salesPrice5; } public BigDecimal getSalesPrice6() { return salesPrice6; } public void setSalesPrice6(BigDecimal salesPrice6) { this.salesPrice6 = salesPrice6; } public BigDecimal getSalesPrice7() { return salesPrice7; } public void setSalesPrice7(BigDecimal salesPrice7) { this.salesPrice7 = salesPrice7; } public BigDecimal getSalesPrice8() { return salesPrice8; } public void setSalesPrice8(BigDecimal salesPrice8) { this.salesPrice8 = salesPrice8; } public BigDecimal getSalesPrice9() { return salesPrice9; } public void setSalesPrice9(BigDecimal salesPrice9) { this.salesPrice9 = salesPrice9; } public BigDecimal getSalesPrice10() { return salesPrice10; } public void setSalesPrice10(BigDecimal salesPrice10) { this.salesPrice10 = salesPrice10; } public String getImage() { return image; } public void setImage(String image) { this.image = image; } public String getOrigin() { return origin; } public void setOrigin(String origin) { this.origin = origin; } public String getManufacturers() { return manufacturers; } public void setManufacturers(String manufacturers) { this.manufacturers = manufacturers; } public String getBrands() { return brands; } public void setBrands(String brands) { this.brands = brands; } public Date getWarrantyStart() { return warrantyStart; } public void setWarrantyStart(Date warrantyStart) { this.warrantyStart = warrantyStart; } public Date getWarrantyEnd() { return warrantyEnd; } public void setWarrantyEnd(Date warrantyEnd) { this.warrantyEnd = warrantyEnd; } public String getAttn() { return attn; } public void setAttn(String attn) { this.attn = attn; } public String getDepartment() { return department; } public void setDepartment(String department) { this.department = department; } public String getEnabled() { return enabled; } public void setEnabled(String enabled) { this.enabled = enabled; } public String getAuditor() { return auditor; } public void setAuditor(String auditor) { this.auditor = auditor; } public Date getAuditTime() { return auditTime; } public void setAuditTime(Date auditTime) { this.auditTime = auditTime; } public String getAuditState() { return auditState; } public void setAuditState(String auditState) { this.auditState = auditState; } public String getAuditRemark() { return auditRemark; } public void setAuditRemark(String auditRemark) { this.auditRemark = auditRemark; } public String getRemark() { return remark; } public void setRemark(String remark) { this.remark = remark; } public String getCreater() { return creater; } public void setCreater(String creater) { this.creater = creater; } public Date getCreateTime() { return createTime; } public void setCreateTime(Date createTime) { this.createTime = createTime; } public String getUpdater() { return updater; } public void setUpdater(String updater) { this.updater = updater; } public Date getUpdateTime() { return updateTime; } public void setUpdateTime(Date updateTime) { this.updateTime = updateTime; } @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } GoodsList other = (GoodsList) that; return (this.getGoodsId() == null ? other.getGoodsId() == null : this.getGoodsId().equals(other.getGoodsId())) && (this.getGoodsCode() == null ? other.getGoodsCode() == null : this.getGoodsCode().equals(other.getGoodsCode())) && (this.getGoodsName() == null ? other.getGoodsName() == null : this.getGoodsName().equals(other.getGoodsName())) && (this.getGoodsTypeId() == null ? other.getGoodsTypeId() == null : this.getGoodsTypeId().equals(other.getGoodsTypeId())) && (this.getGoodsSortId() == null ? other.getGoodsSortId() == null : this.getGoodsSortId().equals(other.getGoodsSortId())) && (this.getWarehouseTypeId() == null ? other.getWarehouseTypeId() == null : this.getWarehouseTypeId().equals(other.getWarehouseTypeId())) && (this.getOriginalCode() == null ? other.getOriginalCode() == null : this.getOriginalCode().equals(other.getOriginalCode())) && (this.getSpecification() == null ? other.getSpecification() == null : this.getSpecification().equals(other.getSpecification())) && (this.getUnit() == null ? other.getUnit() == null : this.getUnit().equals(other.getUnit())) && (this.getBulkUnit() == null ? other.getBulkUnit() == null : this.getBulkUnit().equals(other.getBulkUnit())) && (this.getPackageConRates() == null ? other.getPackageConRates() == null : this.getPackageConRates().equals(other.getPackageConRates())) && (this.getPricing() == null ? other.getPricing() == null : this.getPricing().equals(other.getPricing())) && (this.getTaxRate() == null ? other.getTaxRate() == null : this.getTaxRate().equals(other.getTaxRate())) && (this.getBatchManagement() == null ? other.getBatchManagement() == null : this.getBatchManagement().equals(other.getBatchManagement())) && (this.getValidManagement() == null ? other.getValidManagement() == null : this.getValidManagement().equals(other.getValidManagement())) && (this.getReferenceCost() == null ? other.getReferenceCost() == null : this.getReferenceCost().equals(other.getReferenceCost())) && (this.getReferenceSalesPrice() == null ? other.getReferenceSalesPrice() == null : this.getReferenceSalesPrice().equals(other.getReferenceSalesPrice())) && (this.getReferenceRetailPrice() == null ? other.getReferenceRetailPrice() == null : this.getReferenceRetailPrice().equals(other.getReferenceRetailPrice())) && (this.getSalesPrice1() == null ? other.getSalesPrice1() == null : this.getSalesPrice1().equals(other.getSalesPrice1())) && (this.getSalesPrice2() == null ? other.getSalesPrice2() == null : this.getSalesPrice2().equals(other.getSalesPrice2())) && (this.getSalesPrice3() == null ? other.getSalesPrice3() == null : this.getSalesPrice3().equals(other.getSalesPrice3())) && (this.getSalesPrice4() == null ? other.getSalesPrice4() == null : this.getSalesPrice4().equals(other.getSalesPrice4())) && (this.getSalesPrice5() == null ? other.getSalesPrice5() == null : this.getSalesPrice5().equals(other.getSalesPrice5())) && (this.getSalesPrice6() == null ? other.getSalesPrice6() == null : this.getSalesPrice6().equals(other.getSalesPrice6())) && (this.getSalesPrice7() == null ? other.getSalesPrice7() == null : this.getSalesPrice7().equals(other.getSalesPrice7())) && (this.getSalesPrice8() == null ? other.getSalesPrice8() == null : this.getSalesPrice8().equals(other.getSalesPrice8())) && (this.getSalesPrice9() == null ? other.getSalesPrice9() == null : this.getSalesPrice9().equals(other.getSalesPrice9())) && (this.getSalesPrice10() == null ? other.getSalesPrice10() == null : this.getSalesPrice10().equals(other.getSalesPrice10())) && (this.getImage() == null ? other.getImage() == null : this.getImage().equals(other.getImage())) && (this.getOrigin() == null ? other.getOrigin() == null : this.getOrigin().equals(other.getOrigin())) && (this.getManufacturers() == null ? other.getManufacturers() == null : this.getManufacturers().equals(other.getManufacturers())) && (this.getBrands() == null ? other.getBrands() == null : this.getBrands().equals(other.getBrands())) && (this.getWarrantyStart() == null ? other.getWarrantyStart() == null : this.getWarrantyStart().equals(other.getWarrantyStart())) && (this.getWarrantyEnd() == null ? other.getWarrantyEnd() == null : this.getWarrantyEnd().equals(other.getWarrantyEnd())) && (this.getAttn() == null ? other.getAttn() == null : this.getAttn().equals(other.getAttn())) && (this.getDepartment() == null ? other.getDepartment() == null : this.getDepartment().equals(other.getDepartment())) && (this.getEnabled() == null ? other.getEnabled() == null : this.getEnabled().equals(other.getEnabled())) && (this.getAuditor() == null ? other.getAuditor() == null : this.getAuditor().equals(other.getAuditor())) && (this.getAuditTime() == null ? other.getAuditTime() == null : this.getAuditTime().equals(other.getAuditTime())) && (this.getAuditState() == null ? other.getAuditState() == null : this.getAuditState().equals(other.getAuditState())) && (this.getAuditRemark() == null ? other.getAuditRemark() == null : this.getAuditRemark().equals(other.getAuditRemark())) && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark())) && (this.getCreater() == null ? other.getCreater() == null : this.getCreater().equals(other.getCreater())) && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime())) && (this.getUpdater() == null ? other.getUpdater() == null : this.getUpdater().equals(other.getUpdater())) && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getGoodsId() == null) ? 0 : getGoodsId().hashCode()); result = prime * result + ((getGoodsCode() == null) ? 0 : getGoodsCode().hashCode()); result = prime * result + ((getGoodsName() == null) ? 0 : getGoodsName().hashCode()); result = prime * result + ((getGoodsTypeId() == null) ? 0 : getGoodsTypeId().hashCode()); result = prime * result + ((getGoodsSortId() == null) ? 0 : getGoodsSortId().hashCode()); result = prime * result + ((getWarehouseTypeId() == null) ? 0 : getWarehouseTypeId().hashCode()); result = prime * result + ((getOriginalCode() == null) ? 0 : getOriginalCode().hashCode()); result = prime * result + ((getSpecification() == null) ? 0 : getSpecification().hashCode()); result = prime * result + ((getUnit() == null) ? 0 : getUnit().hashCode()); result = prime * result + ((getBulkUnit() == null) ? 0 : getBulkUnit().hashCode()); result = prime * result + ((getPackageConRates() == null) ? 0 : getPackageConRates().hashCode()); result = prime * result + ((getPricing() == null) ? 0 : getPricing().hashCode()); result = prime * result + ((getTaxRate() == null) ? 0 : getTaxRate().hashCode()); result = prime * result + ((getBatchManagement() == null) ? 0 : getBatchManagement().hashCode()); result = prime * result + ((getValidManagement() == null) ? 0 : getValidManagement().hashCode()); result = prime * result + ((getReferenceCost() == null) ? 0 : getReferenceCost().hashCode()); result = prime * result + ((getReferenceSalesPrice() == null) ? 0 : getReferenceSalesPrice().hashCode()); result = prime * result + ((getReferenceRetailPrice() == null) ? 0 : getReferenceRetailPrice().hashCode()); result = prime * result + ((getSalesPrice1() == null) ? 0 : getSalesPrice1().hashCode()); result = prime * result + ((getSalesPrice2() == null) ? 0 : getSalesPrice2().hashCode()); result = prime * result + ((getSalesPrice3() == null) ? 0 : getSalesPrice3().hashCode()); result = prime * result + ((getSalesPrice4() == null) ? 0 : getSalesPrice4().hashCode()); result = prime * result + ((getSalesPrice5() == null) ? 0 : getSalesPrice5().hashCode()); result = prime * result + ((getSalesPrice6() == null) ? 0 : getSalesPrice6().hashCode()); result = prime * result + ((getSalesPrice7() == null) ? 0 : getSalesPrice7().hashCode()); result = prime * result + ((getSalesPrice8() == null) ? 0 : getSalesPrice8().hashCode()); result = prime * result + ((getSalesPrice9() == null) ? 0 : getSalesPrice9().hashCode()); result = prime * result + ((getSalesPrice10() == null) ? 0 : getSalesPrice10().hashCode()); result = prime * result + ((getImage() == null) ? 0 : getImage().hashCode()); result = prime * result + ((getOrigin() == null) ? 0 : getOrigin().hashCode()); result = prime * result + ((getManufacturers() == null) ? 0 : getManufacturers().hashCode()); result = prime * result + ((getBrands() == null) ? 0 : getBrands().hashCode()); result = prime * result + ((getWarrantyStart() == null) ? 0 : getWarrantyStart().hashCode()); result = prime * result + ((getWarrantyEnd() == null) ? 0 : getWarrantyEnd().hashCode()); result = prime * result + ((getAttn() == null) ? 0 : getAttn().hashCode()); result = prime * result + ((getDepartment() == null) ? 0 : getDepartment().hashCode()); result = prime * result + ((getEnabled() == null) ? 0 : getEnabled().hashCode()); result = prime * result + ((getAuditor() == null) ? 0 : getAuditor().hashCode()); result = prime * result + ((getAuditTime() == null) ? 0 : getAuditTime().hashCode()); result = prime * result + ((getAuditState() == null) ? 0 : getAuditState().hashCode()); result = prime * result + ((getAuditRemark() == null) ? 0 : getAuditRemark().hashCode()); result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode()); result = prime * result + ((getCreater() == null) ? 0 : getCreater().hashCode()); result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode()); result = prime * result + ((getUpdater() == null) ? 0 : getUpdater().hashCode()); result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode()); return result; } }