cy
2023-12-01 01107e8aadfaf1e84a971d8eeb9ab37e1c5569f3
consum-model-pojo/src/main/java/com/consum/model/po/LWhProcureModel.java
@@ -6,13 +6,12 @@
import com.walker.jdbc.BasePo;
/**
 * 表名:L_WH_PROCURE_MODEL *
 * 表名:L_WH_PROCURE_MODEL
 *
 * @author genrator
 */
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
public class LWhProcureModel extends BasePo<LWhProcureModel> {
    // 序列化版本号
    private static final long serialVersionUID = 1L;
@@ -61,6 +60,10 @@
    private Long totalAmount;
    @JsonIgnore
    protected boolean isset_totalAmount = false;
    private Integer useCount = null;
    @JsonIgnore
    protected boolean isset_useCount = false;
    /**
     * 默认构造函数
@@ -237,6 +240,20 @@
        return this.totalAmount == null;
    }
    public Integer getUseCount() {
        return this.useCount;
    }
    public void setUseCount(Integer useCount) {
        this.useCount = useCount;
        this.isset_useCount = true;
    }
    @JsonIgnore
    public boolean isEmptyUseCount() {
        return this.useCount == null;
    }
    /**
     * 重写 toString() 方法
     */
@@ -253,6 +270,8 @@
            .append("counts=").append(this.counts)
            .append("worehouseCount=").append(this.worehouseCount)
            .append("supplier=").append(this.supplier)
                .append("totalAmount=").append(this.totalAmount)
                .append("useCount=").append(this.useCount)
            .toString();
    }
@@ -300,6 +319,9 @@
        if (this.isset_totalAmount) {
            l_wh_procure_model.setTotalAmount(this.getTotalAmount());
        }
        if (this.isset_useCount) {
l_wh_procure_model.setUseCount(this.getUseCount());
        }
        return l_wh_procure_model;
    }
}