perf(user/dto): creado dto input con solo nombre y apellidos para la actualización de usuario

parent f734b5a2
package com.example.apprecetas.user.infrastructure.controller.dto.input;
import jakarta.validation.constraints.Size;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
@NoArgsConstructor
@Getter
@Setter
public class UserUpdateInputDto {
@Size(min = 2, max = 20, message = "El nombre debe tener entre 2 y 20 caracteres")
private String name;
@Size(min = 6, max = 20, message = "Los apellidos deben tener entre 6 y 20 caracteres")
private String surname;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment