黎星凯
2024-06-28 b8c7255b5021d7f15cab19bf4ec54eec9352d456
consum-model-pojo/src/main/java/com/consum/model/po/LGoodsWhRecord.java
@@ -28,6 +28,10 @@
    @JsonIgnore
    protected boolean isset_whGoodsId = false;
    private Integer warehouseType = null;
    @JsonIgnore
    protected boolean isset_warehouseType = false;
    private Long warehouseId = null;
    @JsonIgnore
    protected boolean isset_warehouseId = false;
@@ -35,6 +39,10 @@
    private Long dealTime = null;
    @JsonIgnore
    protected boolean isset_dealTime = false;
    private Integer lastRecord = null;
    @JsonIgnore
    protected boolean isset_lastRecord = false;
    /**
     * 默认构造函数
@@ -99,6 +107,20 @@
        return this.whGoodsId == 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.warehouseId;
    }
@@ -127,6 +149,20 @@
        return this.dealTime == null;
    }
    public Integer getLastRecord() {
        return this.lastRecord;
    }
    public void setLastRecord(Integer lastRecord) {
        this.lastRecord = lastRecord;
        this.isset_lastRecord = true;
    }
    @JsonIgnore
    public boolean isEmptyLastRecord() {
        return this.lastRecord == null;
    }
    /**
     * 重写 toString() 方法
     */
@@ -136,8 +172,10 @@
                .append("id=").append(this.id)
                .append("warehouseFlowId=").append(this.warehouseFlowId)
                .append("whGoodsId=").append(this.whGoodsId)
                .append("warehouseType=").append(this.warehouseType)
                .append("warehouseId=").append(this.warehouseId)
                .append("dealTime=").append(this.dealTime)
                .append("lastRecord=").append(this.lastRecord)
                .toString();
    }
@@ -161,12 +199,18 @@
        if (this.isset_whGoodsId) {
            l_goods_wh_record.setWhGoodsId(this.getWhGoodsId());
        }
        if (this.isset_warehouseType) {
            l_goods_wh_record.setWarehouseType(this.getWarehouseType());
        }
        if (this.isset_warehouseId) {
            l_goods_wh_record.setWarehouseId(this.getWarehouseId());
        }
        if (this.isset_dealTime) {
            l_goods_wh_record.setDealTime(this.getDealTime());
        }
        if (this.isset_lastRecord) {
            l_goods_wh_record.setLastRecord(this.getLastRecord());
        }
        return l_goods_wh_record;
    }
}