package cc.mrbird.febs.yinhe.entity;
|
|
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 com.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
|
import java.util.Date;
|
|
/**
|
* 用户实体类
|
* 对应数据库表:ai_member
|
*/
|
@Data
|
@TableName("ai_member")
|
public class YhAiMember extends YhBaseEntity {
|
|
/**
|
* 主键ID (bigint自增)
|
*/
|
@TableId(value = "id",type = IdType.AUTO)
|
private Long id;
|
|
/**
|
* 会员UUID
|
*/
|
private String memberUuid;
|
|
/**
|
* 用户名称
|
*/
|
private String name;
|
|
/**
|
* 手机号
|
*/
|
private String phone;
|
|
/**
|
* 邮箱
|
*/
|
private String email;
|
|
/**
|
* 密码
|
*/
|
private String password;
|
|
/**
|
* 支付密码
|
*/
|
private String tradePassword;
|
|
/**
|
* 性别
|
*/
|
private String sex;
|
|
/**
|
* 邀请码
|
*/
|
private String inviteId;
|
|
/**
|
* 推荐人邀请码
|
*/
|
private String referrerId;
|
|
/**
|
* 推荐人线路
|
*/
|
private String referrerIds;
|
|
/**
|
* 代理层级
|
*/
|
private String level;
|
|
/**
|
* 账户状态 0-正常 1-禁用
|
*/
|
private Integer accountStatus;
|
|
/**
|
* 账户类型 1-正常用户
|
*/
|
private Integer accountType;
|
|
/**
|
* 头像
|
*/
|
private String avatar;
|
|
/**
|
* 绑定手机号(仅全民商城用得到)
|
*/
|
private String bindPhone;
|
|
/**
|
* 会员等级
|
*/
|
private Integer director;
|
|
/**
|
* 分销等级
|
*/
|
private Integer storeMaster;
|
|
/**
|
* 微信用户标识
|
*/
|
private String openId;
|
|
/**
|
* 会话密钥
|
*/
|
private String sessionKey;
|
|
/**
|
* 推销员id
|
*/
|
private Long salesmansId;
|
|
/**
|
* 邀请图片
|
*/
|
private String inviteImg;
|
|
/**
|
* 是否是销售员 1:是 2:否
|
*/
|
private Integer isSale;
|
|
/**
|
* 生日
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
private Date birthday;
|
|
/**
|
* 真实姓名
|
*/
|
private String realName;
|
|
/**
|
* 上一次登录时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date lastLoginTime;
|
|
/**
|
* 会员时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date vipLevelTime;
|
|
/**
|
* 是否是医生 0-否 1-是
|
*/
|
private Integer doctorState;
|
|
/**
|
* 是否是核销员 0-否 1-是
|
*/
|
private Integer checkOrder;
|
|
/**
|
* 是否领取新人礼 0-否 1-是
|
*/
|
private Integer newGift;
|
|
/**
|
* 是否是自提订单核销员 0-否 1-是
|
*/
|
private Integer checkLeader;
|
|
/**
|
* 会员角色ID
|
*/
|
private String memberRoleId;
|
|
/**
|
* 公司ID
|
*/
|
private String companyId;
|
|
/**
|
* 角色ID
|
*/
|
private Long roleId;
|
}
|