From cc5cf127da76d03ce7086da4d70f34b20e9803e0 Mon Sep 17 00:00:00 2001
From: admin <1101184511@qq.com>
Date: 星期三, 30 七月 2025 01:57:55 +0800
Subject: [PATCH] 功能完善

---
 src/main/java/com/taoke/autopay/entity/ClientInfo.java |   76 +++++++++----------------------------
 1 files changed, 19 insertions(+), 57 deletions(-)

diff --git a/src/main/java/com/taoke/autopay/entity/ClientInfo.java b/src/main/java/com/taoke/autopay/entity/ClientInfo.java
index 7a0bc59..5888889 100644
--- a/src/main/java/com/taoke/autopay/entity/ClientInfo.java
+++ b/src/main/java/com/taoke/autopay/entity/ClientInfo.java
@@ -1,5 +1,8 @@
 package com.taoke.autopay.entity;
 
+import lombok.Builder;
+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;
@@ -12,12 +15,26 @@
  * @description: TODO
  * @date 2024/6/14 18:09
  */
+@Data
+@Builder
 @Table("table_user")
 public class ClientInfo {
     // 绠$悊鍛�
     public static final int RULE_ADMIN = 1;
     //鏅�氱敤鎴�
     public static final int RULE_COMMON = 0;
+
+    // 浠d粯-榛樿鍊�
+    public static final int CLIENT_TYPE_AGENT_PAYMENT = 0;
+
+    // 璁㈠崟鍦烘櫙
+    public static final int CLIENT_TYPE_ORDER = 1;
+
+    @Tolerate
+    public ClientInfo(){
+
+    }
+
     @Id
     @Column(name ="id")
     private Long id;
@@ -33,61 +50,6 @@
     private Date activeTime;
     @Column(name ="rule")
     private Integer rule;
-
-
-    public Long getId() {
-        return id;
-    }
-
-    public void setId(Long id) {
-        this.id = id;
-    }
-
-    public String getName() {
-        return name;
-    }
-
-    public void setName(String name) {
-        this.name = name;
-    }
-
-    public String getAccount() {
-        return account;
-    }
-
-    public void setAccount(String account) {
-        this.account = account;
-    }
-
-    public String getPwd() {
-        return pwd;
-    }
-
-    public void setPwd(String pwd) {
-        this.pwd = pwd;
-    }
-
-    public Date getCreateTime() {
-        return createTime;
-    }
-
-    public void setCreateTime(Date createTime) {
-        this.createTime = createTime;
-    }
-
-    public Date getActiveTime() {
-        return activeTime;
-    }
-
-    public void setActiveTime(Date activeTime) {
-        this.activeTime = activeTime;
-    }
-
-    public Integer getRule() {
-        return rule;
-    }
-
-    public void setRule(Integer rule) {
-        this.rule = rule;
-    }
+    @Column(name = "client_type")
+    private Integer clientType;
 }

--
Gitblit v1.8.0