From d265893c6b838d16f1ee8109fc46d6891174cc82 Mon Sep 17 00:00:00 2001
From: liujie <1793218484@qq.com>
Date: 星期一, 22 十二月 2025 10:36:54 +0800
Subject: [PATCH] 后台接口

---
 ruoyi-system/src/main/java/com/ruoyi/system/model/TAppUser.java |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/model/TAppUser.java b/ruoyi-system/src/main/java/com/ruoyi/system/model/TAppUser.java
index 3693c55..abf2193 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/system/model/TAppUser.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/model/TAppUser.java
@@ -1,5 +1,6 @@
 package com.ruoyi.system.model;
 
+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;
@@ -41,14 +42,17 @@
 
     @ApiModelProperty(value = "姓名")
     @TableField("name")
+    @Excel(name = "用户名", width = 20,orderNum = "1")
     private String name;
 
     @ApiModelProperty(value = "头像")
     @TableField("profile_photo")
+    @Excel(name = "头像", width = 20, imageType = 1,type = 2,orderNum = "0")
     private String profilePhoto;
 
     @ApiModelProperty(value = "推广号")
     @TableField("code")
+    @Excel(name = "推广号", width = 20,orderNum = "2")
     private String code;
 
     @ApiModelProperty(value = "推广二维码地址")
@@ -57,15 +61,18 @@
 
     @ApiModelProperty(value = "手机号")
     @TableField("phone")
+    @Excel(name = "联系电话", width = 20,orderNum = "3")
     private String phone;
 
     @ApiModelProperty(value = "性别(1=男,2=女)")
     @TableField("gender")
+    @Excel(name = "性别", width = 20,orderNum = "4",replace = {"男_1","女_2"})
     private Integer gender;
 
     @ApiModelProperty(value = "生日")
     @TableField("birthday")
     @JsonFormat(pattern = "yyyy-MM-dd")
+    @Excel(name = "出生日期", width = 20,orderNum = "5",format = "yyyy-MM-dd")
     private LocalDate birthday;
 
     @ApiModelProperty(value = "微信openid")
@@ -74,11 +81,13 @@
 
     @ApiModelProperty(value = "角色(1=游客,2=营销员,3=合伙人)")
     @TableField("user_type")
+    @Excel(name = "角色", width = 20,orderNum = "7",replace = {"游客_1","营销员_2","合伙人_3"})
     private Integer userType;
 
     @ApiModelProperty(value = "注册时间")
     @TableField("create_time")
     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    @Excel(name = "注册时间", width = 20,orderNum = "6",format = "yyyy-MM-dd HH:mm:ss")
     private LocalDateTime createTime;
 
     @ApiModelProperty(value = "累计积分")
@@ -107,6 +116,7 @@
 
     @ApiModelProperty(value = "状态(1=正常,2=冻结,3=删除)")
     @TableField("status")
+    @Excel(name = "状态", width = 20,orderNum = "8",replace = {"正常_1","冻结_2","删除_3"})
     private Integer status;
 
     @ApiModelProperty(value = "股东ID")

--
Gitblit v1.7.1