package tech.glinfo.enbao.modules.appuser.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 快捷登录表单
 *
 * @author Mark sunlightcs@gmail.com
 */
@Data
@ApiModel(value = "快捷登录表单")
public class QuickLoginForm {
    @ApiModelProperty(value = "手机号")
    @NotBlank(message="手机号不能为空")
    private String phone;

    @ApiModelProperty(value = "验证码")
    @NotBlank(message="验证码不能为空")
    private String vcode;

    @ApiModelProperty(value = "key")
//    @NotBlank(message="key不能为空")
    private String key;

    @ApiModelProperty(value = "验证码")
    private String code;

    @ApiModelProperty(value = "客户端ID")
    private String clientId;

    @ApiModelProperty(value = "角色")
    private Integer role;

}
