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

	@ServiceParamField(describe = "注册账号，手机号码")
	@NotBlank
	private String account;

	@ServiceParamField(describe = "账号密码")
	@NotBlank
	private String password;
}
