/**
 * 版权声明：中图一购网络科技有限公司 版权所有 违者必究 2012
 * 日    期：12-7-14
 */
package com.zhiqiyun.open.router.request;

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

    @ServiceParamField(describe = "用户名")
    @NotBlank
    private String userName;

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

