package com.zhiqiyun.open.mvc.params;

import com.zhiqiyun.open.utils.validation.StrongPassword;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author jtoms.shen
 * @version 1.0
 * @date 2018/12/21 11:35
 */
@Data
public class ChangePasswordParam {

	@NotBlank(message = "请输入原始密码")
	private String loginPassword;

	@NotBlank(message = "请输入新密码")
	@StrongPassword
	private String newPassword;

	@NotBlank(message = "请再次输入新密码")
	@StrongPassword
	private String confirmPassword;

}
