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

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

	@ServiceParamField(describe = "图形验证码唯一标志")
	@NotBlank
	private String captchaKey;

	@ServiceParamField(describe = "图形验证码值")
	@NotBlank
	private String captchaCode;
}
