| | |
| | | @JsonIgnore |
| | | protected boolean isset_usingCount = false; |
| | | |
| | | private Long warehouseId = null; |
| | | @JsonIgnore |
| | | protected boolean isset_warehouseId = false; |
| | | |
| | | private String warehouseName = null; |
| | | @JsonIgnore |
| | | protected boolean isset_warehouseName = false; |
| | | |
| | | /** |
| | | * 默认构造函数 |
| | | */ |
| | |
| | | return this.usingCount == null; |
| | | } |
| | | |
| | | public Long getWarehouseId() { |
| | | return this.warehouseId; |
| | | } |
| | | |
| | | public void setWarehouseId(Long warehouseId) { |
| | | this.warehouseId = warehouseId; |
| | | this.isset_warehouseId = true; |
| | | } |
| | | |
| | | @JsonIgnore |
| | | public boolean isEmptyWarehouseId() { |
| | | return this.warehouseId == null; |
| | | } |
| | | |
| | | public String getWarehouseName() { |
| | | return this.warehouseName; |
| | | } |
| | | |
| | | public void setWarehouseName(String warehouseName) { |
| | | this.warehouseName = warehouseName; |
| | | this.isset_warehouseName = true; |
| | | } |
| | | |
| | | @JsonIgnore |
| | | public boolean isEmptyWarehouseName() { |
| | | return this.warehouseName == null || this.warehouseName.length() == 0; |
| | | } |
| | | |
| | | /** |
| | | * 重写 toString() 方法 |
| | | */ |
| | |
| | | .append("goodsUserPhone=").append(this.goodsUserPhone) |
| | | .append("goodsUserName=").append(this.goodsUserName) |
| | | .append("usingCount=").append(this.usingCount) |
| | | .append("warehouseId=").append(this.warehouseId) |
| | | .append("warehouseName=").append(this.warehouseName) |
| | | .toString(); |
| | | } |
| | | |
| | |
| | | if (this.isset_usingCount) { |
| | | dep_form_lending_goods.setUsingCount(this.getUsingCount()); |
| | | } |
| | | if (this.isset_warehouseId) { |
| | | dep_form_lending_goods.setWarehouseId(this.getWarehouseId()); |
| | | } |
| | | if (this.isset_warehouseName) { |
| | | dep_form_lending_goods.setWarehouseName(this.getWarehouseName()); |
| | | } |
| | | return dep_form_lending_goods; |
| | | } |
| | | } |