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 Oauth2PhoneLoginRequest extends AbstractOapRequest {

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

	@ServiceParamField(describe = "手机验证码")
	@NotBlank
	private String code;

	@ServiceParamField(describe = "手机验证码唯一id")
	@NotBlank
	private String id;
}
