package com.example.cezenPBX.DTO.user;

import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;

public record AdminSetPasswordDTO(
        @NotBlank(message = "Username cannot be blank")
        String userName,

        @Email(message = "Email is not valid")
        String email,

        @NotBlank(message = "Password cannot be blank")
        @Size(min = 3, message = "Password must be at least 8 characters long")
        String password,

        @NotBlank(message = "Confirm password cannot be blank")
        String confirmPassword
) {}
