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;
|
}
|