parent
b9537077ef
commit
1f26d2950d
8 changed files with 99 additions and 16 deletions
@ -0,0 +1,40 @@ |
|||||||
|
package com.daqing.framework.domain.hrms.request; |
||||||
|
|
||||||
|
import lombok.Data; |
||||||
|
|
||||||
|
import javax.validation.constraints.NotBlank; |
||||||
|
import javax.validation.constraints.Pattern; |
||||||
|
import java.io.Serializable; |
||||||
|
|
||||||
|
/** |
||||||
|
* 修改平台超管员密码请求体对象 |
||||||
|
* |
||||||
|
* @author gongsj |
||||||
|
* @email gongsj@gmail.com |
||||||
|
* @date 2020-09-07 17:12:14 |
||||||
|
*/ |
||||||
|
@Data |
||||||
|
public class UpdatePwdRequest implements Serializable { |
||||||
|
|
||||||
|
/** |
||||||
|
* 手机账号 |
||||||
|
*/ |
||||||
|
@Pattern(regexp = "^1(3([0-35-9]\\d|4[1-8])|4[14-9]\\d|5([0125689]\\d|7[1-79])|66\\d|7[2-35-8]\\d|8\\d{2}|9[13589]\\d)\\d{7}$",message = "手机号格式不正确!") |
||||||
|
private String phoneAccount; |
||||||
|
|
||||||
|
/** |
||||||
|
* 新密码 |
||||||
|
*/ |
||||||
|
@Pattern(regexp = "^(?=.*[0-9].*)(?=.*[A-Z].*)(?=.*[a-z].*).{6,20}$",message = "密码格式不正确!") |
||||||
|
private String newPwd; |
||||||
|
/** |
||||||
|
* 确认密码 |
||||||
|
*/ |
||||||
|
private String confirmPwd; |
||||||
|
|
||||||
|
/** |
||||||
|
* 原密码 |
||||||
|
*/ |
||||||
|
@NotBlank(message = "当前密码不能为空!") |
||||||
|
private String password; |
||||||
|
} |
Loading…
Reference in new issue