Software Development, Programming, Self Improvement, Java, Spring Boot.
public class SignUpRequestDto { @NotBlank(message = "Username is required!") @Size(min= 3, message = "Username must have atleast 3 characters!") @Size(max= 20, message = "Username can have have atmost 20 characters!") private String userName; @Email(message = "Email is not in valid format!")