
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;
import javax.validation.constraints.NotNull;

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

	@ServiceParamField(describe = "admin登录的Token")
	@NotBlank
	private String accessToken;

	@ServiceParamField(describe = "用户id")
	@NotNull
	private Long id;

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

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

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

	@ServiceParamField(describe = "密码")
	private String password;

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

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

