cy
2023-11-01 ae379d7dbeb52563d576f57b77a4a6dd1fe710ca
consum-model-pojo/src/main/java/com/consum/model/po/LGoodsUserRecord.java
@@ -52,6 +52,10 @@
    @JsonIgnore
    protected boolean isset_dealTime = false;
    private Integer lastRecord = null;
    @JsonIgnore
    protected boolean isset_lastRecord = false;
    /**
     * 默认构造函数
     */
@@ -199,6 +203,20 @@
        return this.dealTime == null;
    }
    public Integer getLastRecord() {
        return this.lastRecord;
    }
    public void setLastRecord(Integer lastRecord) {
        this.lastRecord = lastRecord;
        this.isset_lastRecord = true;
    }
    @JsonIgnore
    public boolean isEmptyLastRecord() {
        return this.lastRecord == null;
    }
    /**
     * 重写 toString() 方法
     */
@@ -214,6 +232,7 @@
                .append("operatorId=").append(this.operatorId)
                .append("operatorName=").append(this.operatorName)
                .append("dealTime=").append(this.dealTime)
                .append("lastRecord=").append(this.lastRecord)
                .toString();
    }
@@ -255,6 +274,9 @@
        if (this.isset_dealTime) {
            l_goods_user_record.setDealTime(this.getDealTime());
        }
        if (this.isset_lastRecord) {
            l_goods_user_record.setLastRecord(this.getLastRecord());
        }
        return l_goods_user_record;
    }
}