rong.liu 4 years ago
commit 7510a8fc60
  1. 3
      src/main/java/com/msdw/tms/entity/UserInfoEntity.java

@ -17,7 +17,8 @@ public class UserInfoEntity {
//用户姓名 //用户姓名
private String userName; private String userName;
//用户账号 //用户账号
@Pattern(regexp = "/^[1-9]([0-9]{1,5})?$/", message = "账号只能为数字!") //@Pattern(regexp = "/^[1-9]([0-9]{1,5})?$/", message = "账号只能为数字!")
@Pattern(regexp = "^[0-9a-zA-Z]*$",message = "账号只能为数字或字母!")
private String account; private String account;
//用户密码 //用户密码
private String password; private String password;

Loading…
Cancel
Save