package com.sonic.bear.domain.input;

import com.sonic.bear.enums.ThirdTypeEnum;
import io.swagger.annotations.ApiParam;
import lombok.Data;

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

@Data
public class ThirdUserLoginInput {

    @ApiParam("三方ID")
    @NotBlank
    private String openId;

    @ApiParam("三方邮箱")
    private String email;

    @ApiParam("三方昵称")
    private String nickname;

    @ApiParam("三方类型")
    @NotNull
    private ThirdTypeEnum thirdType;

    @ApiParam("客户端标识")
    @NotBlank
    private String clientCode;

    @ApiParam("设备ID")
    private String deviceId;

    @ApiParam("IP地址")
    private String ip;

    @ApiParam("UA")
    private String userAgent;

}
