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 |   31 +++++++++++++++++++++++++++----
 1 files changed, 27 insertions(+), 4 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 cdb1637..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,16 +1,24 @@
 package com.taoke.autopay.entity.credit;
 
-import lombok.Data;
+import lombok.experimental.Tolerate;
 import org.springframework.data.annotation.Id;
-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 java.util.Date;
+import org.yeshi.utils.generater.mybatis.Column;
 
 @Data
+@Builder
 @Table(value = "table_credit_exchange_record")
 public class CreditExchangeRecord {
+    //鏈鏍�
+    public final static int STATUS_NOT_VERIFY = 0;
+    //宸查�氳繃
+    public final static int STATUS_PASSED = 1;
+    //宸叉嫆缁�
+    public final static int STATUS_REJECT = 2;
 
     @Id
     @Column(name = "id")
@@ -50,7 +58,22 @@
     @Column(name = "update_time")
     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