| | |
| | | @JsonIgnore |
| | | protected boolean isset_baseGoodsModelsName = false; |
| | | |
| | | private String unit = null; |
| | | @JsonIgnore |
| | | protected boolean isset_unit = false; |
| | | |
| | | private Double price = null; |
| | | private Long price = null; |
| | | @JsonIgnore |
| | | protected boolean isset_price = false; |
| | | |
| | |
| | | return this.baseGoodsModelsName == null || this.baseGoodsModelsName.length() == 0; |
| | | } |
| | | |
| | | public String getUnit() { |
| | | return this.unit; |
| | | } |
| | | |
| | | public void setUnit(String unit) { |
| | | this.unit = unit; |
| | | this.isset_unit = true; |
| | | } |
| | | |
| | | @JsonIgnore |
| | | public boolean isEmptyUnit() { |
| | | return this.unit == null || this.unit.length() == 0; |
| | | } |
| | | |
| | | public Double getPrice() { |
| | | public Long getPrice() { |
| | | return this.price; |
| | | } |
| | | |
| | | public void setPrice(Double price) { |
| | | public void setPrice(Long price) { |
| | | this.price = price; |
| | | this.isset_price = true; |
| | | } |
| | |
| | | .append("businessId=").append(this.businessId) |
| | | .append("baseGoodsModelsId=").append(this.baseGoodsModelsId) |
| | | .append("baseGoodsModelsName=").append(this.baseGoodsModelsName) |
| | | .append("unit=").append(this.unit) |
| | | .append("price=").append(this.price) |
| | | .append("counts=").append(this.counts) |
| | | .append("worehouseCount=").append(this.worehouseCount) |
| | |
| | | } |
| | | if (this.isset_baseGoodsModelsName) { |
| | | l_wh_procure_model.setBaseGoodsModelsName(this.getBaseGoodsModelsName()); |
| | | } |
| | | if (this.isset_unit) { |
| | | l_wh_procure_model.setUnit(this.getUnit()); |
| | | } |
| | | if (this.isset_price) { |
| | | l_wh_procure_model.setPrice(this.getPrice()); |