已有开发项目的熟悉过程
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

LoginVo.java 602B

1234567891011121314151617181920212223242526272829303132
  1. package com.cbs.company.vo;
  2. import javax.validation.constraints.NotNull;
  3. import org.hibernate.validator.constraints.Length;
  4. public class LoginVo {
  5. @NotNull
  6. private String mobile;
  7. @NotNull
  8. @Length(min=32)
  9. private String password;
  10. public String getMobile() {
  11. return mobile;
  12. }
  13. public void setMobile(String mobile) {
  14. this.mobile = mobile;
  15. }
  16. public String getPassword() {
  17. return password;
  18. }
  19. public void setPassword(String password) {
  20. this.password = password;
  21. }
  22. @Override
  23. public String toString() {
  24. return "LoginVo [mobile=" + mobile + ", password=" + password + "]";
  25. }
  26. }