From 75942ecc2e438012c5ea876715966ace593565a0 Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期五, 11 四月 2025 15:17:41 +0800
Subject: [PATCH] 部分代码

---
 ruoyi-service/ruoyi-study/src/main/java/com/ruoyi/study/domain/TUser.java |  140 +++-------------------------------------------
 1 files changed, 11 insertions(+), 129 deletions(-)

diff --git a/ruoyi-service/ruoyi-study/src/main/java/com/ruoyi/study/domain/TUser.java b/ruoyi-service/ruoyi-study/src/main/java/com/ruoyi/study/domain/TUser.java
index 59c4fc8..864e059 100644
--- a/ruoyi-service/ruoyi-study/src/main/java/com/ruoyi/study/domain/TUser.java
+++ b/ruoyi-service/ruoyi-study/src/main/java/com/ruoyi/study/domain/TUser.java
@@ -2,9 +2,11 @@
 
 
 import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
 import com.baomidou.mybatisplus.annotation.TableId;
 import com.baomidou.mybatisplus.annotation.TableName;
 import com.ruoyi.common.core.web.domain.BaseModel;
+import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 
 import java.util.Date;
@@ -20,13 +22,13 @@
 @Data
 @TableName("t_user")
 public class TUser extends BaseModel {
-    private static final long serialVersionUID = 1L;
 
     @TableId(value = "id", type = IdType.AUTO)
     private Integer id;
     /**
      * 用户姓名
      */
+    @ApiModelProperty("用户名称")
     private String name;
     /**
      * 账号
@@ -35,6 +37,7 @@
     /**
      * 电话
      */
+    @ApiModelProperty("手机号")
     private String phone;
     /**
      * 密码
@@ -55,10 +58,12 @@
     /**
      * 用户头像
      */
+    @ApiModelProperty("头像")
     private String headImg;
     /**
      * 积分
      */
+    @ApiModelProperty("积分")
     private Integer integral;
     /**
      * 状态1正常 2冻结 3删除
@@ -71,138 +76,15 @@
     /**
      * 会员到期时间 字段未空 则不是会员
      */
+    @ApiModelProperty("会员到期时间 字段未空 则不是会员")
     private Date vipEndTime;
     /**
      * 充值会员时间 续费刷新该字段 
      */
+    @ApiModelProperty("充值会员时间 续费刷新该字段 ")
     private Date vipPayTime;
+    @ApiModelProperty("是否为会员0否1是 ")
+    @TableField(exist = false)
+    private Integer isVip;
 
-    public Integer getId() {
-        return id;
-    }
-
-    public void setId(Integer 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 getPhone() {
-        return phone;
-    }
-
-    public void setPhone(String phone) {
-        this.phone = phone;
-    }
-
-    public String getPassword() {
-        return password;
-    }
-
-    public void setPassword(String password) {
-        this.password = password;
-    }
-
-    public String getOpenId() {
-        return openId;
-    }
-
-    public void setOpenId(String openId) {
-        this.openId = openId;
-    }
-
-    public Date getBirthday() {
-        return birthday;
-    }
-
-    public void setBirthday(Date birthday) {
-        this.birthday = birthday;
-    }
-
-    public Integer getGender() {
-        return gender;
-    }
-
-    public void setGender(Integer gender) {
-        this.gender = gender;
-    }
-
-    public String getHeadImg() {
-        return headImg;
-    }
-
-    public void setHeadImg(String headImg) {
-        this.headImg = headImg;
-    }
-
-
-
-    public Integer getState() {
-        return state;
-    }
-
-    public void setState(Integer state) {
-        this.state = state;
-    }
-
-    public Date getInsertTime() {
-        return insertTime;
-    }
-
-    public void setInsertTime(Date insertTime) {
-        this.insertTime = insertTime;
-    }
-
-    public Date getVipEndTime() {
-        return vipEndTime;
-    }
-
-    public void setVipEndTime(Date vipEndTime) {
-        this.vipEndTime = vipEndTime;
-    }
-
-    public Date getVipPayTime() {
-        return vipPayTime;
-    }
-
-    public void setVipPayTime(Date vipPayTime) {
-        this.vipPayTime = vipPayTime;
-    }
-
-
-
-    @Override
-    public String toString() {
-        return "TUser{" +
-        ", id=" + id +
-        ", name=" + name +
-        ", account=" + account +
-        ", phone=" + phone +
-        ", password=" + password +
-        ", openId=" + openId +
-        ", birthday=" + birthday +
-        ", gender=" + gender +
-        ", headImg=" + headImg +
-        ", integral=" + integral +
-        ", state=" + state +
-        ", insertTime=" + insertTime +
-        ", vipEndTime=" + vipEndTime +
-        ", vipPayTime=" + vipPayTime +
-
-        "}";
-    }
 }

--
Gitblit v1.7.1