LoginForm.java 929 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. package jnpf.model;
  2. import io.swagger.v3.oas.annotations.media.Schema;
  3. import lombok.Data;
  4. /**
  5. *
  6. * @author JNPF开发平台组
  7. * @version V3.1.0
  8. * @copyright 引迈信息技术有限公司
  9. * @date 2021/3/16 8:49
  10. */
  11. @Data
  12. public class LoginForm {
  13. @Schema(description = "账号")
  14. private String account;
  15. @Schema(description = "密码")
  16. private String password;
  17. /**
  18. * 登录类型
  19. */
  20. @Schema(description = "登录类型")
  21. private String grantType;
  22. /**
  23. * 验证码标识
  24. */
  25. @Schema(description = "验证码标识")
  26. private String timestamp;
  27. /**
  28. * 来源类型
  29. */
  30. private String origin;
  31. /**
  32. * 验证码
  33. */
  34. @Schema(description = "验证码")
  35. private String code;
  36. public LoginForm() {
  37. }
  38. public LoginForm(String account, String password) {
  39. this.account = account;
  40. this.password = password;
  41. }
  42. }