package com.zhiqiyun.open.router.request.oauth2;

import com.dliyun.oap.framework.annotation.ServiceParamField;
import com.dliyun.oap.framework.request.AbstractOapRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

@Data
@EqualsAndHashCode(callSuper = true)
public class Oauth2WechatMpLoginRequest extends AbstractOapRequest {

    @ServiceParamField(describe = "固定值;公众号：WECHAT_MP；小程序：WECHAT_MINI")
    @NotBlank
    private String source;

    @ServiceParamField(describe = "获取到的第三方用户id")
    @NotBlank
    private String uuid;

    @ServiceParamField(describe = "姓名")
    private String name;

    @ServiceParamField(describe = "真实姓名")
    private String realName;

    @ServiceParamField(describe = "性别")
    private Integer sex;

    @ServiceParamField(describe = "邮箱")
    private String email;

    @ServiceParamField(describe = "手机号码")
    private String phone;
}
