| package cc.mrbird.febs.mall.entity; | 
|   | 
| import cc.mrbird.febs.common.controller.BaseController; | 
| import cc.mrbird.febs.common.entity.BaseEntity; | 
| import cc.mrbird.febs.common.entity.BaseEntity; | 
| import com.baomidou.mybatisplus.annotation.TableField; | 
| import com.baomidou.mybatisplus.annotation.TableName; | 
| import lombok.Data; | 
|   | 
| import java.math.BigDecimal; | 
|   | 
| /** | 
|  * @author wzy | 
|  * @date 2021-09-16 | 
|  **/ | 
| @Data | 
| @TableName("mall_member") | 
| public class MallMember extends BaseEntity { | 
|   | 
|     /** | 
|      * 姓名 | 
|      */ | 
|     private String name; | 
|   | 
|     /** | 
|      * 手机号 | 
|      */ | 
|     private String phone; | 
|   | 
|     /** | 
|      * 邮箱 | 
|      */ | 
|     private String email; | 
|   | 
|     /** | 
|      * 密码 | 
|      */ | 
|     private String password; | 
|   | 
|     /** | 
|      * 资金密码 | 
|      */ | 
|     private String tradePassword; | 
|   | 
|     /** | 
|      * 头像 | 
|      */ | 
|     private String avatar; | 
|   | 
|     /** | 
|      * 性别 | 
|      */ | 
|     private String sex; | 
|   | 
|     /** | 
|      * 邀请码 | 
|      */ | 
|     private String inviteId; | 
|   | 
|     /** | 
|      * 父级邀请码 | 
|      */ | 
|     private String referrerId; | 
|   | 
|     /** | 
|      * 邀请码链 | 
|      */ | 
|     private String referrerIds; | 
|   | 
|     /** | 
|      * 代理级别 | 
|      */ | 
|     private String level; | 
|   | 
|     /** | 
|      * 账户状态;1-正常 2-禁用 | 
|      */ | 
|     private Integer accountStatus; | 
|     /** | 
|      * 启用 | 
|      */ | 
|     public static final Integer ACCOUNT_STATUS_ENABLE = 1; | 
|     /** | 
|      * 禁用 | 
|      */ | 
|     public static final Integer ACCOUNT_STATUS_DISABLED = 2; | 
|   | 
|     /** | 
|      * 账号类型 | 
|      */ | 
|     private Integer accountType; | 
|   | 
|     /** | 
|      * 正常账号 | 
|      */ | 
|     public static final Integer ACCOUNT_TYPE_NORMAL = 1; | 
|     /** | 
|      * 测试账号 | 
|      */ | 
|     public static final Integer ACCOUNT_TYPE_TEST = 2; | 
|     @TableField(exist = false) | 
|     private String account; | 
|   | 
|     private String bindPhone; | 
|   | 
|     @TableField(exist = false) | 
|     private String referrerName; | 
|   | 
|     @TableField(exist = false) | 
|     private BigDecimal balance; | 
|   | 
|     @TableField(exist = false) | 
|     private BigDecimal amount; | 
|   | 
|     @TableField(exist = false) | 
|     private String query; | 
|   | 
| } |