cy
2023-11-14 8e6c3af833dd3cbc6a8a5cbf95943b199231d96a
consum-model-pojo/src/main/java/com/consum/model/po/LWhGoodsRecord.java
@@ -68,6 +68,10 @@
    @JsonIgnore
    protected boolean isset_dealTime = false;
    private Long totalPrice = null;
    @JsonIgnore
    protected boolean isset_totalPrice = false;
    /**
     * 默认构造函数
     */
@@ -271,6 +275,20 @@
        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() 方法
     */
@@ -290,6 +308,7 @@
                .append("baseGoodsModelsId=").append(this.baseGoodsModelsId)
                .append("baseGoodsModelsName=").append(this.baseGoodsModelsName)
                .append("dealTime=").append(this.dealTime)
                .append("totalPrice=").append(this.totalPrice)
                .toString();
    }
@@ -343,6 +362,9 @@
        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;
    }
}