|
|
@@ -2,11 +2,14 @@ package cn.seecoder.seecoderportalcommon.vo.dto;
|
|
|
|
|
|
import cn.seecoder.seecoderportalcommon.vo.UserVO;
|
|
|
|
|
|
+import javax.validation.constraints.Pattern;
|
|
|
+
|
|
|
/**
|
|
|
* @author kunduin
|
|
|
*/
|
|
|
public class RegisterDTO extends UserVO {
|
|
|
|
|
|
+ @Pattern(regexp = "^([a-z]|[A-Z]|[0-9]){8,30}$", message = "密码只能由打小写英文字母数组组成,长度为8-30")
|
|
|
private String password;
|
|
|
|
|
|
private String identifyCode;
|