package cn.reghao.bnt.web.admin.model.dto;

import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Length;

import jakarta.validation.constraints.NotNull;

/**
 * @author reghao
 * @date 2025-09-30 22:40:38
 */
@Setter
@Getter
public class AccountPassword {
    @NotNull(message = "userId 不能为 NULL")
    private Integer userId;
    @NotNull(message = "password 不能为 NULL")
    @Length(min = 10, max = 16, message = "password 长度在 10 ~ 16 个字符之间")
    private String password;
}
