| package com.dy.pmsBase.user; | 
|   | 
|   | 
| import org.hibernate.validator.constraints.Length; | 
| import jakarta.validation.constraints.NotNull; | 
| import lombok.*; | 
|   | 
| @Data | 
| @EqualsAndHashCode(callSuper = false) | 
| @ToString(callSuper = true) | 
| @NoArgsConstructor | 
| @AllArgsConstructor | 
| @Builder | 
| public class ResetPasswordVo { | 
|   | 
|     @NotNull(message = "id不能为空") | 
|     public String id ; | 
|   | 
|     @NotNull(message = "密码不能为空") | 
|     @Length(message = "密码大于{max}字符,不小于{min}字符", min = 6, max = 6) | 
|     public String password ; | 
| } |