liuxm
2024-05-06 2661ce7da0b5544d5574cfad50cba9a9a643254c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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 ;
}