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

	@ServiceParamField(describe = "微信公众号")
	@NotBlank
	private String source;

	@ServiceParamField(describe = "第三方授权唯一id")
	@NotBlank
	private String uuid;

	@ServiceParamField(describe = "用户登录名")
	@NotBlank
	private String username;

	@ServiceParamField(describe = "用户登录密码")
	@NotBlank
	private String password;
}
