package com.testor.module.iam.model.dto;

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

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @ClassName: IamLoginDto
 * @Description: TODO
 * @Author: lm
 * @CreateTime: 2023/12/29 15:02
 * @Version: 1.0
 */
@Data
public class IamLoginDto {

    @ApiModelProperty("登录类型:pc或h5")
    @NotNull
    private String type;

    @ApiModelProperty("IAM回调携带的code")
    @NotBlank
    private String code;

    @ApiModelProperty("用户id")
    private String userId;

    @ApiModelProperty("验证用户id")
    private String userKeyPid;
}
