cy
2023-11-02 396ebb5642636d6667212939fa6ef195eeebc05e
consum-model-pojo/src/main/java/com/consum/model/po/WhWarning.java
@@ -20,6 +20,10 @@
    protected boolean isset_id = false;
    // 属性列表
    private Integer warehouseType = null;
    @JsonIgnore
    protected boolean isset_warehouseType = false;
    private Long baseWarehouseId = null;
    @JsonIgnore
    protected boolean isset_baseWarehouseId = false;
@@ -125,6 +129,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 getBaseWarehouseId() {
@@ -386,6 +404,7 @@
    public String toString() {
        return new StringBuilder()
                .append("id=").append(this.id)
                .append("warehouseType=").append(this.warehouseType)
                .append("baseWarehouseId=").append(this.baseWarehouseId)
                .append("baseWarehouseName=").append(this.baseWarehouseName)
                .append("baseGoodsTemplateId=").append(this.baseGoodsTemplateId)
@@ -421,6 +440,9 @@
            wh_warning.setId(this.getId());
        }
        // 普通属性
        if (this.isset_warehouseType) {
            wh_warning.setWarehouseType(this.getWarehouseType());
        }
        if (this.isset_baseWarehouseId) {
            wh_warning.setBaseWarehouseId(this.getBaseWarehouseId());
        }