package com.jy.system.model.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class ResetPwdDto {

    /**
     * 用户id
     */
    @NotNull
    private Long userId;

    /**
     * 密码
     */
    @NotBlank
    @Size(min = 6, max = 30)
    private String password;

}
