| | |
| | | @JsonIgnore |
| | | protected boolean isset_goodsTemplatesId = false; |
| | | |
| | | private String unit = null; |
| | | @JsonIgnore |
| | | protected boolean isset_unit = false; |
| | | |
| | | private Integer orderNumber = null; |
| | | @JsonIgnore |
| | | protected boolean isset_orderNumber = false; |
| | | |
| | | private Long createTime = null; |
| | | @JsonIgnore |
| | | protected boolean isset_createTime = false; |
| | | |
| | | /** |
| | | * 默认构造函数 |
| | |
| | | return this.goodsTemplatesId == null; |
| | | } |
| | | |
| | | 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 Integer getOrderNumber() { |
| | | return this.orderNumber; |
| | | } |
| | |
| | | return this.orderNumber == null; |
| | | } |
| | | |
| | | public Long getCreateTime() { |
| | | return this.createTime; |
| | | } |
| | | |
| | | public void setCreateTime(Long createTime) { |
| | | this.createTime = createTime; |
| | | this.isset_createTime = true; |
| | | } |
| | | |
| | | @JsonIgnore |
| | | public boolean isEmptyCreateTime() { |
| | | return this.createTime == null; |
| | | } |
| | | |
| | | /** |
| | | * 重写 toString() 方法 |
| | | */ |
| | |
| | | .append("modelName=").append(this.modelName) |
| | | .append("states=").append(this.states) |
| | | .append("goodsTemplatesId=").append(this.goodsTemplatesId) |
| | | .append("unit=").append(this.unit) |
| | | .append("orderNumber=").append(this.orderNumber) |
| | | .append("createTime=").append(this.createTime) |
| | | .toString(); |
| | | } |
| | | |
| | |
| | | if (this.isset_goodsTemplatesId) { |
| | | base_goods_models.setGoodsTemplatesId(this.getGoodsTemplatesId()); |
| | | } |
| | | if (this.isset_unit) { |
| | | base_goods_models.setUnit(this.getUnit()); |
| | | } |
| | | if (this.isset_orderNumber) { |
| | | base_goods_models.setOrderNumber(this.getOrderNumber()); |
| | | } |
| | | if (this.isset_createTime) { |
| | | base_goods_models.setCreateTime(this.getCreateTime()); |
| | | } |
| | | return base_goods_models; |
| | | } |
| | | } |