package com.railway.common.core.domain.model;

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

/**
 * 用户登录对象
 *
 * @author railway
 */
@ApiModel(value = "权限认证 - 用户登录接口入参")
@Data
public class LoginBody {

  /**
   * 用户名
   */
  @ApiModelProperty(value = "用户名", required = true)
  private String username;

  /**
   * 用户密码
   */
  @ApiModelProperty(value = "密码", required = true)
  private String password;

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

  /**
   * 唯一标识
   */
  @ApiModelProperty(value = "验证码ID，获取验证码时返回的uuid")
  private String uuid = "";

}
