guang
2023-05-05 566411019444e53ca143298ee490d33cf510e28c
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
package com.hx.other.service.model;
 
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Index;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Data;
 
/**
 * 用户表
 * @Author: cmg
 * @Date: 2023/4/19 16:47
 */
@Data
@Table(name = "user")
public class User extends BaseEntity{
 
    @Column(comment = "姓名", length = 50, type = MySqlTypeConstant.VARCHAR)
    private String name;
 
    @Column(comment = "会员等级", length = 10, type = MySqlTypeConstant.VARCHAR)
    private String userLevel;
 
    @Column(comment = "用户状态", length = 64, type = MySqlTypeConstant.VARCHAR)
    private String userStatus;
 
    @Column(comment = "所属门店id", length = 64, type = MySqlTypeConstant.VARCHAR)
    private String shopId;
 
    @Column(comment = "所属门店名称", length = 64, type = MySqlTypeConstant.VARCHAR)
    private String shopName;
 
    @Index
    @Column(comment = "所属顾问(销售顾问)", length = 64, type = MySqlTypeConstant.VARCHAR)
    private String hisCorpUserId;
 
    @Column(comment = "所属顾问名称(销售顾问)", length = 64, type = MySqlTypeConstant.VARCHAR)
    private String hisCorpUserName;
 
    @Column(comment = "来源,顶级", length = 64, type = MySqlTypeConstant.VARCHAR)
    private String channelType;
 
    @Column(comment = "邀请人id(用户,员工)现推荐人都是用户id", length = 64, type = MySqlTypeConstant.VARCHAR)
    private String inviteeId;
 
    @Column(comment = "邀请人姓名", length = 50, type = MySqlTypeConstant.VARCHAR)
    private String inviteeName;
 
    @Column(comment = "性别", length = 2, type = MySqlTypeConstant.TINYINT)
    private Integer gender;
}