From 595b7935a30e84fba1bc3561d05f9d19d3e32e1f Mon Sep 17 00:00:00 2001 From: Administrator <1101184511@qq.com> Date: 星期三, 23 四月 2025 00:45:48 +0800 Subject: [PATCH] 后台管理页面完成 --- src/main/java/com/taoke/autopay/entity/credit/UserCreditBalance.java | 17 ++++++++++++----- 1 files changed, 12 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/taoke/autopay/entity/credit/UserCreditBalance.java b/src/main/java/com/taoke/autopay/entity/credit/UserCreditBalance.java index 08c8d45..8ecb37b 100644 --- a/src/main/java/com/taoke/autopay/entity/credit/UserCreditBalance.java +++ b/src/main/java/com/taoke/autopay/entity/credit/UserCreditBalance.java @@ -1,14 +1,16 @@ package com.taoke.autopay.entity.credit; -import lombok.Data; -import org.springframework.data.annotation.Id; +import lombok.experimental.Tolerate; import org.yeshi.utils.generater.mybatis.Column; -import org.yeshi.utils.generater.mybatis.Table; - import java.math.BigDecimal; +import lombok.Data; +import lombok.Builder; +import org.springframework.data.annotation.Id; +import org.yeshi.utils.generater.mybatis.Table; import java.util.Date; @Data +@Builder @Table(value = "table_user_credit_balance") public class UserCreditBalance { @@ -17,11 +19,16 @@ private Long id; @Column(name = "credit_balance") - private BigDecimal creditBalance; + private Integer creditBalance; @Column(name = "create_time") private Date createTime; @Column(name = "update_time") private Date updateTime; + + @Tolerate + // 鏂板榛樿鏋勯�犲嚱鏁� + public UserCreditBalance() { + } } -- Gitblit v1.8.0