From c30c7f1156961bf0b55f598c9693d4a3e6c1f0c1 Mon Sep 17 00:00:00 2001
From: dd <gitluke@outlook.com>
Date: Wed, 03 Jun 2026 23:34:27 +0800
Subject: [PATCH] 1

---
 src/main/java/com/nq/pojo/AgentUser.java |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/nq/pojo/AgentUser.java b/src/main/java/com/nq/pojo/AgentUser.java
index ed5367a..d66bf3d 100644
--- a/src/main/java/com/nq/pojo/AgentUser.java
+++ b/src/main/java/com/nq/pojo/AgentUser.java
@@ -1,5 +1,7 @@
 package com.nq.pojo;
 
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
 import lombok.Data;
 
 import java.math.BigDecimal;
@@ -8,6 +10,7 @@
 
 @Data
 public class AgentUser {
+    @TableId(value = "id",type = IdType.AUTO)
     private Integer id;
     private String agentName;
     private String agentPwd;
@@ -49,12 +52,14 @@
      * 在先客服
      * */
     private String onLineServices;
+    private String googleAuthSecret;
+    private Boolean googleAuthBind = false;
 
     public AgentUser() {
 
     }
 
-    public AgentUser(Integer id, String agentName, String agentPwd, String agentRealName, String agentPhone, String agentCode, Date addTime, Integer isLock, Integer parentId, String parentName, Integer agentLevel, BigDecimal poundageScale, BigDecimal deferredFeesScale, BigDecimal receiveDividendsScale, BigDecimal totalMoney, String siteLever, String onlineServices) {
+    public AgentUser(Integer id, String agentName, String agentPwd, String agentRealName, String agentPhone, String agentCode, Date addTime, Integer isLock, Integer parentId, String parentName, Integer agentLevel, BigDecimal poundageScale, BigDecimal deferredFeesScale, BigDecimal receiveDividendsScale, BigDecimal totalMoney, String siteLever, String onlineServices, String googleAuthSecret, Boolean googleAuthBind) {
         this.id = id;
         this.agentName = agentName;
         this.agentPwd = agentPwd;
@@ -72,5 +77,7 @@
         this.totalMoney = totalMoney;
         this.siteLever = siteLever;
         this.onLineServices = onlineServices;
+        this.googleAuthSecret = googleAuthSecret;
+        this.googleAuthBind = googleAuthBind;
     }
 }

--
Gitblit v1.9.3