package com.gnx.telemedicine.dto.user;

import jakarta.validation.constraints.Size;

public record UserUpdateDto(
        @Size(min = 2, max = 50, message = "First name must be between 2 and 50 characters")
        String firstName,

        @Size(min = 2, max = 50, message = "Last name must be between 2 and 50 characters")
        String lastName,

        @Size(min = 10, max = 15, message = "Phone number must be between 10 and 15 characters")
        String phoneNumber
) {
}

