杨凯
2023-10-19 78bc8db4ee276ad439f3a6383d683029598dcfb2
consum-model-pojo/src/main/java/com/consum/model/po/DepFormScrappedModel.java
@@ -68,6 +68,10 @@
    @JsonIgnore
    protected boolean isset_depFormLendingId = false;
    private Long warehouseId = null;
    @JsonIgnore
    protected boolean isset_warehouseId = false;
    /**
     * 默认构造函数
     */
@@ -271,6 +275,20 @@
        return this.depFormLendingId == 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;
    }
    /**
     * 重写 toString() 方法
     */
@@ -290,6 +308,7 @@
                .append("depFormLendingModelId=").append(this.depFormLendingModelId)
                .append("depFormLendingGoodsId=").append(this.depFormLendingGoodsId)
                .append("depFormLendingId=").append(this.depFormLendingId)
                .append("warehouseId=").append(this.warehouseId)
                .toString();
    }
@@ -343,6 +362,9 @@
        if (this.isset_depFormLendingId) {
            dep_form_scrapped_model.setDepFormLendingId(this.getDepFormLendingId());
        }
        if (this.isset_warehouseId) {
            dep_form_scrapped_model.setWarehouseId(this.getWarehouseId());
        }
        return dep_form_scrapped_model;
    }
}