package com.jilongda.manage.authority.dto;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import org.hibernate.validator.constraints.Length;
|
|
/**
|
* <p></p>
|
*
|
* @author mouseyCat
|
* @date 2020/10/17 14:20
|
*/
|
@Data
|
public class ResetPasswordDTO {
|
@ApiModelProperty(value = "账号")
|
private String account;
|
@ApiModelProperty(value = "验证码")
|
private String code;
|
@ApiModelProperty(value = "新密码")
|
@Length(min = 8, max = 16, message = "密码长度在8-16之间")
|
private String password;
|
@ApiModelProperty(value = "旧密码")
|
private String oldPassword;
|
private Long id;
|
}
|