luqingyang
2023-10-30 b82ed8cbcc9e262f2bce2a662f8ce0d8c59b5d70
consum-model-pojo/src/main/java/com/consum/model/po/BaseGoodsTemplate.java
@@ -40,6 +40,10 @@
    @JsonIgnore
    protected boolean isset_categoryId = false;
    private String categoryName = null;
    @JsonIgnore
    protected boolean isset_categoryName = false;
    private Long fAgencyId = null;
    @JsonIgnore
    protected boolean isset_fAgencyId = false;
@@ -187,6 +191,20 @@
    @JsonIgnore
    public boolean isEmptyCategoryId() {
        return this.categoryId == null;
    }
    public String getCategoryName() {
        return this.categoryName;
    }
    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
        this.isset_categoryName = true;
    }
    @JsonIgnore
    public boolean isEmptyCategoryName() {
        return this.categoryName == null || this.categoryName.length() == 0;
    }
    public Long getFAgencyId() {
@@ -355,6 +373,7 @@
                .append("classification=").append(this.classification)
                .append("states=").append(this.states)
                .append("categoryId=").append(this.categoryId)
                .append("categoryName=").append(this.categoryName)
                .append("fAgencyId=").append(this.fAgencyId)
                .append("sAgencyId=").append(this.sAgencyId)
                .append("tAgencyId=").append(this.tAgencyId)
@@ -398,6 +417,9 @@
        if (this.isset_categoryId) {
            base_goods_template.setCategoryId(this.getCategoryId());
        }
        if (this.isset_categoryName) {
            base_goods_template.setCategoryName(this.getCategoryName());
        }
        if (this.isset_fAgencyId) {
            base_goods_template.setFAgencyId(this.getFAgencyId());
        }