Pu Zhibing
2024-11-21 1d429b7c98f8f15c63a6dba03ff90dae7a984e58
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
package com.ruoyi.account.api.model;
 
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 lombok.Data;
 
import java.math.BigDecimal;
import java.time.LocalDateTime;
 
/**
 * 用户
 * @author zhibing.pu
 * @Date 2024/11/21 9:25
 */
@Data
@TableName("t_app_user")
public class AppUser {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.NONE)
    private Long id;
    /**
     * 用户名
     */
    @TableField("name")
    private String name;
    /**
     * 手机号
     */
    @TableField("phone")
    private String phone;
    /**
     * 头像
     */
    @TableField("avatar")
    private String avatar;
    /**
     * 会员id
     */
    @TableField("vip_id")
    private Integer vipId;
    /**
     * 微信openid
     */
    @TableField("wx_openid")
    private String wxOpenid;
    /**
     * 状态(1=正常,2=冻结,3=注销)
     */
    @TableField("status")
    private Integer status;
    /**
     * 添加时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;
    /**
     * 删除(0=否,1=是)
     */
    @TableField("del_flag")
    private Integer delFlag;
    /**
     * 0否1是第一次添加
     */
    @TableField("first_add")
    private Integer firstAdd;
    /**
     * 最后一次登录时间
     */
    @TableField("last_login_time")
    private LocalDateTime lastLoginTime;
    /**
     * 推广人id
     */
    @TableField("invite_user_id")
    private Long inviteUserId;
    /**
     * 拥有门店id
     */
    @TableField("shop_id")
    private Integer shopId;
    /**
     * 合伙人积分数
     */
    @TableField("part_point")
    private Integer partPoint;
    /**
     * 合伙人培育积分数
     */
    @TableField("part_grow_point")
    private Integer partGrowPoint;
    /**
     * 消费积分数
     */
    @TableField("shop_point")
    private Integer shopPoint;
    /**
     * 返佣积分数
     */
    @TableField("share_point")
    private Integer sharePoint;
    /**
     * 消费总金额
     */
    @TableField("shop_amount")
    private BigDecimal shopAmount;
    /**
     * 最后消费时间
     */
    @TableField("last_shop_time")
    private LocalDateTime lastShopTime;
}