杨凯
2023-10-19 78bc8db4ee276ad439f3a6383d683029598dcfb2
consum-model-pojo/src/main/java/com/consum/model/po/DepFormBackGoods.java
@@ -44,6 +44,14 @@
    @JsonIgnore
    protected boolean isset_endCount = false;
    private Long depFormLendingId = null;
    @JsonIgnore
    protected boolean isset_depFormLendingId = false;
    private Long warehouseId = null;
    @JsonIgnore
    protected boolean isset_warehouseId = false;
    /**
     * 默认构造函数
     */
@@ -163,6 +171,34 @@
        return this.endCount == null;
    }
    public Long getDepFormLendingId() {
        return this.depFormLendingId;
    }
    public void setDepFormLendingId(Long depFormLendingId) {
        this.depFormLendingId = depFormLendingId;
        this.isset_depFormLendingId = true;
    }
    @JsonIgnore
    public boolean isEmptyDepFormLendingId() {
        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() 方法
     */
@@ -176,6 +212,8 @@
                .append("initCount=").append(this.initCount)
                .append("depFormLendingGoodsId=").append(this.depFormLendingGoodsId)
                .append("endCount=").append(this.endCount)
                .append("depFormLendingId=").append(this.depFormLendingId)
                .append("warehouseId=").append(this.warehouseId)
                .toString();
    }
@@ -211,6 +249,12 @@
        if (this.isset_endCount) {
            dep_form_back_goods.setEndCount(this.getEndCount());
        }
        if (this.isset_depFormLendingId) {
            dep_form_back_goods.setDepFormLendingId(this.getDepFormLendingId());
        }
        if (this.isset_warehouseId) {
            dep_form_back_goods.setWarehouseId(this.getWarehouseId());
        }
        return dep_form_back_goods;
    }
}