luqingyang
2023-10-23 5da448b87908d16ac007efedbb7b1a0ab1cb372a
consum-model-pojo/src/main/java/com/consum/model/po/BaseCategory.java
@@ -44,6 +44,30 @@
    @JsonIgnore
    protected boolean isset_fatherCategoryId = false;
    private Long createUserId = null;
    @JsonIgnore
    protected boolean isset_createUserId = false;
    private Long createTime = null;
    @JsonIgnore
    protected boolean isset_createTime = false;
    private String createUserName = null;
    @JsonIgnore
    protected boolean isset_createUserName = false;
    private Long dTime = null;
    @JsonIgnore
    protected boolean isset_dTime = false;
    private Long dUserId = null;
    @JsonIgnore
    protected boolean isset_dUserId = false;
    private String dUserName = null;
    @JsonIgnore
    protected boolean isset_dUserName = false;
    /**
     * 默认构造函数
     */
@@ -163,6 +187,90 @@
        return this.fatherCategoryId == null;
    }
    public Long getCreateUserId() {
        return this.createUserId;
    }
    public void setCreateUserId(Long createUserId) {
        this.createUserId = createUserId;
        this.isset_createUserId = true;
    }
    @JsonIgnore
    public boolean isEmptyCreateUserId() {
        return this.createUserId == null;
    }
    public Long getCreateTime() {
        return this.createTime;
    }
    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
        this.isset_createTime = true;
    }
    @JsonIgnore
    public boolean isEmptyCreateTime() {
        return this.createTime == null;
    }
    public String getCreateUserName() {
        return this.createUserName;
    }
    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
        this.isset_createUserName = true;
    }
    @JsonIgnore
    public boolean isEmptyCreateUserName() {
        return this.createUserName == null || this.createUserName.length() == 0;
    }
    public Long getDTime() {
        return this.dTime;
    }
    public void setDTime(Long dTime) {
        this.dTime = dTime;
        this.isset_dTime = true;
    }
    @JsonIgnore
    public boolean isEmptyDTime() {
        return this.dTime == null;
    }
    public Long getDUserId() {
        return this.dUserId;
    }
    public void setDUserId(Long dUserId) {
        this.dUserId = dUserId;
        this.isset_dUserId = true;
    }
    @JsonIgnore
    public boolean isEmptyDUserId() {
        return this.dUserId == null;
    }
    public String getDUserName() {
        return this.dUserName;
    }
    public void setDUserName(String dUserName) {
        this.dUserName = dUserName;
        this.isset_dUserName = true;
    }
    @JsonIgnore
    public boolean isEmptyDUserName() {
        return this.dUserName == null || this.dUserName.length() == 0;
    }
    /**
     * 重写 toString() 方法
     */
@@ -176,6 +284,12 @@
                .append("states=").append(this.states)
                .append("levels=").append(this.levels)
                .append("fatherCategoryId=").append(this.fatherCategoryId)
                .append("createUserId=").append(this.createUserId)
                .append("createTime=").append(this.createTime)
                .append("createUserName=").append(this.createUserName)
                .append("dTime=").append(this.dTime)
                .append("dUserId=").append(this.dUserId)
                .append("dUserName=").append(this.dUserName)
                .toString();
    }
@@ -211,6 +325,24 @@
        if (this.isset_fatherCategoryId) {
            base_category.setFatherCategoryId(this.getFatherCategoryId());
        }
        if (this.isset_createUserId) {
            base_category.setCreateUserId(this.getCreateUserId());
        }
        if (this.isset_createTime) {
            base_category.setCreateTime(this.getCreateTime());
        }
        if (this.isset_createUserName) {
            base_category.setCreateUserName(this.getCreateUserName());
        }
        if (this.isset_dTime) {
            base_category.setDTime(this.getDTime());
        }
        if (this.isset_dUserId) {
            base_category.setDUserId(this.getDUserId());
        }
        if (this.isset_dUserName) {
            base_category.setDUserName(this.getDUserName());
        }
        return base_category;
    }
}