guang
2023-05-05 566411019444e53ca143298ee490d33cf510e28c
提交 | 用户 | age
9e1c8d 1 package com.hx.other.service.model;
G 2
3 import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
4 import com.gitee.sunchenbin.mybatis.actable.annotation.Index;
5 import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
6 import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
7 import lombok.Data;
8
9 /**
10  * 用户表
11  * @Author: cmg
12  * @Date: 2023/4/19 16:47
13  */
14 @Data
15 @Table(name = "user")
16 public class User extends BaseEntity{
17
18     @Column(comment = "姓名", length = 50, type = MySqlTypeConstant.VARCHAR)
19     private String name;
20
21     @Column(comment = "会员等级", length = 10, type = MySqlTypeConstant.VARCHAR)
22     private String userLevel;
23
24     @Column(comment = "用户状态", length = 64, type = MySqlTypeConstant.VARCHAR)
25     private String userStatus;
26
27     @Column(comment = "所属门店id", length = 64, type = MySqlTypeConstant.VARCHAR)
28     private String shopId;
29
30     @Column(comment = "所属门店名称", length = 64, type = MySqlTypeConstant.VARCHAR)
31     private String shopName;
32
33     @Index
34     @Column(comment = "所属顾问(销售顾问)", length = 64, type = MySqlTypeConstant.VARCHAR)
35     private String hisCorpUserId;
36
37     @Column(comment = "所属顾问名称(销售顾问)", length = 64, type = MySqlTypeConstant.VARCHAR)
38     private String hisCorpUserName;
39
40     @Column(comment = "来源,顶级", length = 64, type = MySqlTypeConstant.VARCHAR)
41     private String channelType;
42
43     @Column(comment = "邀请人id(用户,员工)现推荐人都是用户id", length = 64, type = MySqlTypeConstant.VARCHAR)
44     private String inviteeId;
45
46     @Column(comment = "邀请人姓名", length = 50, type = MySqlTypeConstant.VARCHAR)
47     private String inviteeName;
48
49     @Column(comment = "性别", length = 2, type = MySqlTypeConstant.TINYINT)
50     private Integer gender;
51 }