| | |
| | | protected boolean isset_id = false; |
| | | |
| | | // 属性列表 |
| | | private Integer warehouseType = null; |
| | | @JsonIgnore |
| | | protected boolean isset_warehouseType = false; |
| | | |
| | | private Long warehouseId = null; |
| | | @JsonIgnore |
| | | protected boolean isset_warehouseId = false; |
| | |
| | | @JsonIgnore |
| | | protected boolean isset_dealTime = false; |
| | | |
| | | private Long totalPrice = null; |
| | | @JsonIgnore |
| | | protected boolean isset_totalPrice = false; |
| | | |
| | | /** |
| | | * 默认构造函数 |
| | | */ |
| | |
| | | @JsonIgnore |
| | | public boolean isEmptyId() { |
| | | return this.id == null; |
| | | } |
| | | |
| | | public Integer getWarehouseType() { |
| | | return this.warehouseType; |
| | | } |
| | | |
| | | public void setWarehouseType(Integer warehouseType) { |
| | | this.warehouseType = warehouseType; |
| | | this.isset_warehouseType = true; |
| | | } |
| | | |
| | | @JsonIgnore |
| | | public boolean isEmptyWarehouseType() { |
| | | return this.warehouseType == null; |
| | | } |
| | | |
| | | public Long getWarehouseId() { |
| | |
| | | return this.dealTime == null; |
| | | } |
| | | |
| | | public Long getTotalPrice() { |
| | | return this.totalPrice; |
| | | } |
| | | |
| | | public void setTotalPrice(Long totalPrice) { |
| | | this.totalPrice = totalPrice; |
| | | this.isset_totalPrice = true; |
| | | } |
| | | |
| | | @JsonIgnore |
| | | public boolean isEmptyTotalPrice() { |
| | | return this.totalPrice == null; |
| | | } |
| | | |
| | | /** |
| | | * 重写 toString() 方法 |
| | | */ |
| | |
| | | public String toString() { |
| | | return new StringBuilder() |
| | | .append("id=").append(this.id) |
| | | .append("warehouseType=").append(this.warehouseType) |
| | | .append("warehouseId=").append(this.warehouseId) |
| | | .append("warehouseFlowId=").append(this.warehouseFlowId) |
| | | .append("initialCount=").append(this.initialCount) |
| | |
| | | .append("baseGoodsModelsId=").append(this.baseGoodsModelsId) |
| | | .append("baseGoodsModelsName=").append(this.baseGoodsModelsName) |
| | | .append("dealTime=").append(this.dealTime) |
| | | .append("totalPrice=").append(this.totalPrice) |
| | | .toString(); |
| | | } |
| | | |
| | |
| | | l_wh_goods_record.setId(this.getId()); |
| | | } |
| | | // 普通属性 |
| | | if (this.isset_warehouseType) { |
| | | l_wh_goods_record.setWarehouseType(this.getWarehouseType()); |
| | | } |
| | | if (this.isset_warehouseId) { |
| | | l_wh_goods_record.setWarehouseId(this.getWarehouseId()); |
| | | } |
| | |
| | | if (this.isset_dealTime) { |
| | | l_wh_goods_record.setDealTime(this.getDealTime()); |
| | | } |
| | | if (this.isset_totalPrice) { |
| | | l_wh_goods_record.setTotalPrice(this.getTotalPrice()); |
| | | } |
| | | return l_wh_goods_record; |
| | | } |
| | | } |