
package com.tmerclub.cloud.api.auth.dto;

import com.tmerclub.cloud.common.vo.BaseVO;
import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author cl
 * @date 2021-05-13 14:50:53
 */
public class UserRegisterExtensionDTO extends BaseVO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    private Long userExtensionId;

    @Schema(description = "用户id")
    private Long userId;

    @Schema(description = "用户等级")
    private Integer level;

    @Schema(description = "等级条件 0 普通会员 1 付费会员")
    private Integer levelType;

    @Schema(description = "用户当前成长值")
    private Integer growth;

    @Schema(description = "用户积分")
    private Long score;

    @Schema(description = "用户总余额")
    private Long balance;

    @Schema(description = "用户实际余额")
    private Long actualBalance;

    @Schema(description = "乐观锁")
    private Integer version;

    @Schema(description = "连续签到天数")
    private Integer signDay;

    @Schema(description = "付费会员等级")
    private Integer vipLevel;

    @Schema(description = "通联累计余额")
    private Long allinpayBalance;

    @Schema(description = "通联实际余额")
    private Long allinpayActualBalance;

    @Schema(description = "通联实名认证(0:否 1:是)")
    private Integer allinpayRealNameSet;

    @Schema(description = "通联绑定银行卡(0:否 1:是)")
    private Integer allinpayPhoneBind;

    @Schema(description = "通联支付密码设置(0:否 1:是)")
    private Integer allinpayPayPwdSet;

    @Schema(description = "通联提现协议签约(0:否 1:是)")
    private Integer allinpayProtocolSign;

    @Schema(description = "通联支付标识绑定(0:否 1:是)")
    private Integer allinpayPayAcctBind;

    public Long getUserExtensionId() {
        return userExtensionId;
    }

    public void setUserExtensionId(Long userExtensionId) {
        this.userExtensionId = userExtensionId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getLevelType() {
        return levelType;
    }

    public void setLevelType(Integer levelType) {
        this.levelType = levelType;
    }

    public Integer getGrowth() {
        return growth;
    }

    public void setGrowth(Integer growth) {
        this.growth = growth;
    }

    public Long getScore() {
        return score;
    }

    public void setScore(Long score) {
        this.score = score;
    }

    public Long getBalance() {
        return balance;
    }

    public void setBalance(Long balance) {
        this.balance = balance;
    }

    public Long getActualBalance() {
        return actualBalance;
    }

    public void setActualBalance(Long actualBalance) {
        this.actualBalance = actualBalance;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Integer getSignDay() {
        return signDay;
    }

    public void setSignDay(Integer signDay) {
        this.signDay = signDay;
    }

    public Integer getVipLevel() {
        return vipLevel;
    }

    public void setVipLevel(Integer vipLevel) {
        this.vipLevel = vipLevel;
    }

    public Long getAllinpayBalance() {
        return allinpayBalance;
    }

    public void setAllinpayBalance(Long allinpayBalance) {
        this.allinpayBalance = allinpayBalance;
    }

    public Long getAllinpayActualBalance() {
        return allinpayActualBalance;
    }

    public void setAllinpayActualBalance(Long allinpayActualBalance) {
        this.allinpayActualBalance = allinpayActualBalance;
    }

    public Integer getAllinpayRealNameSet() {
        return allinpayRealNameSet;
    }

    public void setAllinpayRealNameSet(Integer allinpayRealNameSet) {
        this.allinpayRealNameSet = allinpayRealNameSet;
    }

    public Integer getAllinpayPhoneBind() {
        return allinpayPhoneBind;
    }

    public void setAllinpayPhoneBind(Integer allinpayPhoneBind) {
        this.allinpayPhoneBind = allinpayPhoneBind;
    }

    public Integer getAllinpayPayPwdSet() {
        return allinpayPayPwdSet;
    }

    public void setAllinpayPayPwdSet(Integer allinpayPayPwdSet) {
        this.allinpayPayPwdSet = allinpayPayPwdSet;
    }

    public Integer getAllinpayProtocolSign() {
        return allinpayProtocolSign;
    }

    public void setAllinpayProtocolSign(Integer allinpayProtocolSign) {
        this.allinpayProtocolSign = allinpayProtocolSign;
    }

    public Integer getAllinpayPayAcctBind() {
        return allinpayPayAcctBind;
    }

    public void setAllinpayPayAcctBind(Integer allinpayPayAcctBind) {
        this.allinpayPayAcctBind = allinpayPayAcctBind;
    }

    @Override
    public String toString() {
        return "UserRegisterExtensionDTO{" +
                "userExtensionId=" + userExtensionId +
                ", userId=" + userId +
                ", level=" + level +
                ", levelType=" + levelType +
                ", growth=" + growth +
                ", score=" + score +
                ", balance=" + balance +
                ", actualBalance=" + actualBalance +
                ", version=" + version +
                ", signDay=" + signDay +
                ", vipLevel=" + vipLevel +
                ", allinpayBalance=" + allinpayBalance +
                ", allinpayActualBalance=" + allinpayActualBalance +
                ", allinpayRealNameSet=" + allinpayRealNameSet +
                ", allinpayPhoneBind=" + allinpayPhoneBind +
                ", allinpayPayPwdSet=" + allinpayPayPwdSet +
                ", allinpayProtocolSign=" + allinpayProtocolSign +
                ", allinpayPayAcctBind=" + allinpayPayAcctBind +
                '}';
    }
}
