| | |
| | | @JsonIgnore |
| | | protected boolean isset_goodsNum = false; |
| | | |
| | | private Integer useCount = null; |
| | | @JsonIgnore |
| | | protected boolean isset_useCount = false; |
| | | |
| | | /** |
| | | * 默认构造函数 |
| | | */ |
| | |
| | | return this.goodsNum == null; |
| | | } |
| | | |
| | | public Integer getUseCount() { |
| | | return this.useCount; |
| | | } |
| | | |
| | | public void setUseCount(Integer useCount) { |
| | | this.useCount = useCount; |
| | | this.isset_useCount = true; |
| | | } |
| | | |
| | | @JsonIgnore |
| | | public boolean isEmptyUseCount() { |
| | | return this.useCount == null; |
| | | } |
| | | |
| | | /** |
| | | * 重写 toString() 方法 |
| | | */ |
| | |
| | | .append("nowUserPhone=").append(this.nowUserPhone) |
| | | .append("nowUserName=").append(this.nowUserName) |
| | | .append("goodsNum=").append(this.goodsNum) |
| | | .append("useCount=").append(this.useCount) |
| | | .toString(); |
| | | } |
| | | |
| | |
| | | if (this.isset_goodsNum) { |
| | | l_wh_procure_model_user.setGoodsNum(this.getGoodsNum()); |
| | | } |
| | | if (this.isset_useCount) { |
| | | l_wh_procure_model_user.setUseCount(this.getUseCount()); |
| | | } |
| | | return l_wh_procure_model_user; |
| | | } |
| | | } |