黎星凯
2024-05-08 b4adff68a07b783fc90da1c9370d8be5f383e700
consum-model-pojo/src/main/java/com/consum/model/po/LWhGoodsRecord.java
@@ -20,9 +20,13 @@
    protected boolean isset_id = false;
    // 属性列表
    private Long lWarehouseFlowId = null;
    private Integer warehouseType = null;
    @JsonIgnore
    protected boolean isset_lWarehouseFlowId = false;
    protected boolean isset_warehouseType = false;
    private Long warehouseId = null;
    @JsonIgnore
    protected boolean isset_warehouseId = false;
    private Long warehouseFlowId = null;
    @JsonIgnore
@@ -60,6 +64,14 @@
    @JsonIgnore
    protected boolean isset_baseGoodsModelsName = false;
    private Long dealTime = null;
    @JsonIgnore
    protected boolean isset_dealTime = false;
    private Long totalPrice = null;
    @JsonIgnore
    protected boolean isset_totalPrice = false;
    /**
     * 默认构造函数
     */
@@ -95,18 +107,32 @@
        return this.id == null;
    }
    public Long getLWarehouseFlowId() {
        return this.lWarehouseFlowId;
    public Integer getWarehouseType() {
        return this.warehouseType;
    }
    public void setLWarehouseFlowId(Long lWarehouseFlowId) {
        this.lWarehouseFlowId = lWarehouseFlowId;
        this.isset_lWarehouseFlowId = true;
    public void setWarehouseType(Integer warehouseType) {
        this.warehouseType = warehouseType;
        this.isset_warehouseType = true;
    }
    @JsonIgnore
    public boolean isEmptyLWarehouseFlowId() {
        return this.lWarehouseFlowId == null;
    public boolean isEmptyWarehouseType() {
        return this.warehouseType == 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;
    }
    public Long getWarehouseFlowId() {
@@ -235,6 +261,34 @@
        return this.baseGoodsModelsName == null || this.baseGoodsModelsName.length() == 0;
    }
    public Long getDealTime() {
        return this.dealTime;
    }
    public void setDealTime(Long dealTime) {
        this.dealTime = dealTime;
        this.isset_dealTime = true;
    }
    @JsonIgnore
    public boolean isEmptyDealTime() {
        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() 方法
     */
@@ -242,7 +296,8 @@
    public String toString() {
        return new StringBuilder()
                .append("id=").append(this.id)
                .append("lWarehouseFlowId=").append(this.lWarehouseFlowId)
                .append("warehouseType=").append(this.warehouseType)
                .append("warehouseId=").append(this.warehouseId)
                .append("warehouseFlowId=").append(this.warehouseFlowId)
                .append("initialCount=").append(this.initialCount)
                .append("thisType=").append(this.thisType)
@@ -252,6 +307,8 @@
                .append("goodsTemplateName=").append(this.goodsTemplateName)
                .append("baseGoodsModelsId=").append(this.baseGoodsModelsId)
                .append("baseGoodsModelsName=").append(this.baseGoodsModelsName)
                .append("dealTime=").append(this.dealTime)
                .append("totalPrice=").append(this.totalPrice)
                .toString();
    }
@@ -269,8 +326,11 @@
            l_wh_goods_record.setId(this.getId());
        }
        // 普通属性
        if (this.isset_lWarehouseFlowId) {
            l_wh_goods_record.setLWarehouseFlowId(this.getLWarehouseFlowId());
        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_warehouseFlowId) {
            l_wh_goods_record.setWarehouseFlowId(this.getWarehouseFlowId());
@@ -299,6 +359,12 @@
        if (this.isset_baseGoodsModelsName) {
            l_wh_goods_record.setBaseGoodsModelsName(this.getBaseGoodsModelsName());
        }
        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;
    }
}