cy
2023-10-31 6d1fcbe98f3dc8f75ac3f7784152b5a04942a89f
consum-model-pojo/src/main/java/com/consum/model/po/LWhGoodsRecord.java
@@ -20,6 +20,10 @@
    protected boolean isset_id = false;
    // 属性列表
    private Integer warehouseType = null;
    @JsonIgnore
    protected boolean isset_warehouseType = false;
    private Long warehouseId = null;
    @JsonIgnore
    protected boolean isset_warehouseId = false;
@@ -97,6 +101,20 @@
    @JsonIgnore
    public boolean isEmptyId() {
        return this.id == 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() {
@@ -260,6 +278,7 @@
    public String toString() {
        return new StringBuilder()
                .append("id=").append(this.id)
                .append("warehouseType=").append(this.warehouseType)
                .append("warehouseId=").append(this.warehouseId)
                .append("warehouseFlowId=").append(this.warehouseFlowId)
                .append("initialCount=").append(this.initialCount)
@@ -288,6 +307,9 @@
            l_wh_goods_record.setId(this.getId());
        }
        // 普通属性
        if (this.isset_warehouseType) {
            l_wh_goods_record.setWarehouseType(this.getWarehouseType());
        }
        if (this.isset_warehouseId) {
            l_wh_goods_record.setWarehouseId(this.getWarehouseId());
        }