package com.tzy.base.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

@Data
@ToString
public class AppUserInfoDtos implements Serializable {
    private static final long serializableUID = 1L;
    //id
    private Integer id;
    //openid
    private String openid;
    //unionid
    private String unionid;
    //账号
    private String account;
    //真实姓名
    private String realname;
    //昵称
    private String nickname;
    private String username;
    //头像
    private String avatar;
    //会员等级
    private Integer level;
    //积分
    private Long point;
    //手机号
    private String phone;
    //邮箱
    private String email;
    //角色id
    private Integer roleId;
    //角色编码
    private String rolecode;
    //注册时间
    private Date registerTime;
    //注册渠道(用户类型) WX_WEB = 公众号, WX_APPLET = 小程序 , THIRD = 第三方
    private String registerChannel;
    //会员成长值
    private Long growthNum;
    //会员码
    private String code;
    /**是否接受通知*/
    private Integer notifyFlag;
    /**极光推送*/
    private String smsRegisterId;
    private String notifyType;
    private Integer faceVerify;
    /**支付开关,1开启,0关闭*/

    private Integer openPsd;
    /**支付密码*/
    @JsonIgnore
    private String loginPsd;
    /**登陆密码*/
    @JsonIgnore
    private String payPsd;
    private Boolean payPsdExist;
    private Boolean loginPsdExist;
    private Integer refusePickUp;
    private Integer num;
    /**限额额度,默认1万,prop1字段*/
    private String payAmountOfDay;
    /**开启限额,prop2字段*/
    private String openPayAmount;
    /**悬浮窗口开关*/
    private Integer windowOpen;
    /**会员等级*/
    private Integer memberLevel;
    /**会员名称*/
    private String memberName;
    /**当月已获取成长值*/
    private Integer currentMonthGrowth;
    /**月初初始化标志,默认0:未开始,1:已初始化*/
    private Integer memberInitFlag;
    /**当前会员保级所需成长值*/
    private Integer memberKeepGrowth;
}
