Annotation Type Min


@Target(FIELD) @Retention(RUNTIME) public @interface Min
Annotation used to validate an integer input to be greeter than the min value. * Example usage: *
  * 
  * public class UserDto {
  *     @Min
  *     private String password;
  * }
  * 
  * 
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
    int
     
  • Element Details

    • value

      int value
      Default:
      0
    • message

      String message
      Default:
      "Field value must be greater than or equal to 0"