From 09206aedcfdf30050123e99f2af0a192ebad1de4 Mon Sep 17 00:00:00 2001
From: zj <1772600164@qq.com>
Date: Mon, 03 Jun 2024 18:08:33 +0800
Subject: [PATCH] 1

---
 src/main/java/com/nq/pojo/UserWithdraw.java |   40 ++++++++++++++++++++++++----------------
 1 files changed, 24 insertions(+), 16 deletions(-)

diff --git a/src/main/java/com/nq/pojo/UserWithdraw.java b/src/main/java/com/nq/pojo/UserWithdraw.java
index f0c87c9..1a43f96 100644
--- a/src/main/java/com/nq/pojo/UserWithdraw.java
+++ b/src/main/java/com/nq/pojo/UserWithdraw.java
@@ -1,6 +1,9 @@
 package com.nq.pojo;
 
 import cn.afterturn.easypoi.excel.annotation.Excel;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
 import com.fasterxml.jackson.annotation.JsonFormat;
 import lombok.Data;
 
@@ -11,6 +14,7 @@
 @Data
 public class UserWithdraw {
 
+    @TableId(type= IdType.AUTO)
     private Integer id;
     @Excel(name = "用户id")
     private Integer userId;
@@ -41,41 +45,45 @@
     private BigDecimal withFee;
     @Excel(name = "原因")
     private String withMsg;
-    @Excel(name = "用户手机号")
-    private String userPhone;
-    @Excel(name = "钱包地址")
-    private String walletAddress;
-    @Excel(name = "实际出金金额")
-    private BigDecimal actualWithdrawal;
-    private String coinType;
 
-    public UserWithdraw(Integer id, Integer userId, String nickName, Integer agentId, BigDecimal withAmt, Date applyTime, Date transTime, String withName, String bankNo, String bankName, String bankAddress, Integer withStatus, BigDecimal withFee, String withMsg, String userPhone, String walletAddress, BigDecimal actualWithdrawal, String coinType) {
+    @TableField(exist = false)
+    private String userPhone;
+    private String assetsType;
+
+    public UserWithdraw(Integer id, Integer userId, String nickName, Integer agentId, BigDecimal withAmt, Date applyTime, Date transTime, String withName, String bankNo, String bankName, String bankAddress, Integer withStatus, BigDecimal withFee, String withMsg) {
+
         this.id = id;
+
         this.userId = userId;
+
         this.nickName = nickName;
+
         this.agentId = agentId;
+
         this.withAmt = withAmt;
+
         this.applyTime = applyTime;
+
         this.transTime = transTime;
+
         this.withName = withName;
+
         this.bankNo = bankNo;
+
         this.bankName = bankName;
+
         this.bankAddress = bankAddress;
+
         this.withStatus = withStatus;
+
         this.withFee = withFee;
+
         this.withMsg = withMsg;
-        this.userPhone = userPhone;
-        this.walletAddress = walletAddress;
-        this.actualWithdrawal = actualWithdrawal;
-        this.coinType = coinType;
+
     }
 
     public UserWithdraw() {
     }
-
-    public String getWalletAddress(){return walletAddress;}
-
-    public void setWalletAddress(String walletAddress){this.walletAddress = walletAddress;}
 
     public Integer getId() {
         return id;

--
Gitblit v1.9.3