package cn.aqroid.business.auth.domain.dto;

/**
 * 登录结果
 *
 * @author aqroid
 * @date 2026-01-12
 */
public class LoginResult {

    /** JWT Token */
    private String token;

    /** 用户ID */
    private Long userId;

    /** 微信openid */
    private String openid;

    /** 手机号 */
    private String phone;

    /** 用户类型: customer/merchant/player */
    private String userType;

    /** 是否需要绑定手机号 */
    private Boolean needBindPhone;

    /** 是否新用户 */
    private Boolean isNewUser;

    /** 租户ID */
    private Long tenantId;

    /** 昵称 */
    private String nickname;

    /** 头像 */
    private String avatar;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Long getUserId() {
        return userId;
    }

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

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public Boolean getNeedBindPhone() {
        return needBindPhone;
    }

    public void setNeedBindPhone(Boolean needBindPhone) {
        this.needBindPhone = needBindPhone;
    }

    public Boolean getIsNewUser() {
        return isNewUser;
    }

    public void setIsNewUser(Boolean isNewUser) {
        this.isNewUser = isNewUser;
    }

    public Long getTenantId() {
        return tenantId;
    }

    public void setTenantId(Long tenantId) {
        this.tenantId = tenantId;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }
}
