package com.liquidnet.service.adam.dto.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Getter;

import java.io.Serializable;

/**
 * 网证认证成功但未绑定本站账号时，随 10006 返回给前端，用于后续 bindTpa / login/tpa 注册绑定。
 */
@Getter
@Builder
@ApiModel(value = "AdamNiaUnboundVo", description = "网证未绑定账号时的绑定凭证")
public class AdamNiaUnboundVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "平台类型，固定 NIA")
    private final String platform;

    @ApiModelProperty(value = "网证用户唯一标识（40字节标识的标准Base64，56字符），绑定时原样作为 openId 回传")
    private final String openId;
}
