package com.starry.admin.modules.system.vo;

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

/**
 * @author huoqiang
 * @since 2021/9/6
 */
@Data
@ApiModel(value = "登录参数", description = "用户登录的请求参数")
public class LoginVo implements Serializable {

    @ApiModelProperty(value = "用户名", required = true, example = "admin", notes = "登录账号")
    private String userName;

    @ApiModelProperty(value = "密码", required = true, example = "123456", notes = "登录密码")
    private String passWord;

    @ApiModelProperty(value = "验证码随机字符串", example = "abc123", notes = "验证码请求时返回的唯一标识")
    private String nonceStr;

    @ApiModelProperty(value = "验证码", example = "1234", notes = "用户输入的验证码")
    private String value;

    @ApiModelProperty(value = "租户标识", example = "tenant1", notes = "多租户模式下的租户唯一标识")
    private String tenantKey;
}
