feat(security): creado LoginRequest para datos de entrada del login

parent b00730b7
package com.example.apprecetas.user.infrastructure.controller.dto;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;
@Data
public class LoginRequest {
@NotEmpty(message = "Nombre de usuario obligatorio")
private String username;
@NotEmpty(message = "Contraseña obligatoria")
private String password;
}
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