From f318c9c7c127b00f353bf45f273096d1dc4b424f Mon Sep 17 00:00:00 2001 From: admin <1101184511@qq.com> Date: 星期三, 20 八月 2025 01:10:48 +0800 Subject: [PATCH] 功能完善 --- src/main/java/com/taoke/autopay/entity/credit/CreditExchangeRecord.java | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/taoke/autopay/entity/credit/CreditExchangeRecord.java b/src/main/java/com/taoke/autopay/entity/credit/CreditExchangeRecord.java index e907e71..c2f3b25 100644 --- a/src/main/java/com/taoke/autopay/entity/credit/CreditExchangeRecord.java +++ b/src/main/java/com/taoke/autopay/entity/credit/CreditExchangeRecord.java @@ -1,5 +1,6 @@ package com.taoke.autopay.entity.credit; +import lombok.experimental.Tolerate; import org.springframework.data.annotation.Id; import org.yeshi.utils.generater.mybatis.Table; import java.math.BigDecimal; @@ -58,10 +59,21 @@ private Date updateTime; // 鏇存柊鏃堕棿 // 鏂板榛樿鏋勯�犲嚱鏁� + @Tolerate public CreditExchangeRecord() { } public enum ExchangeType { - FUND_EXCHANGE // 璧勯噾鍏戞崲 + FUND_EXCHANGE("绾㈠寘鍏戞崲"); // 璧勯噾鍏戞崲 + private String desc; + private ExchangeType(String desc) { + this.desc = desc; + } + + public String getDesc() { + return desc; + } + + } } \ No newline at end of file -- Gitblit v1.8.0