package com.liquidnet.service.adam.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.io.Serializable;

@ApiModel(value = "AdamNiaLoginParam", description = "国家网络身份认证登录入参（R01 凭证认证）")
@Data
public class AdamNiaLoginParam implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(position = 1, required = true, value = "业务序列号，须与前端 SDK bizSeq 一致[32]")
    @NotBlank(message = "bizSeq不能为空")
    @Size(min = 32, max = 32, message = "bizSeq长度须为32位")
    private String bizSeq;

    @ApiModelProperty(position = 2, required = true, value = "认证请求数据 idCardAuthData")
    @NotBlank(message = "idCardAuthData不能为空")
    private String idCardAuthData;
}
