@Min
annotation : It is required to pass an integer value with @Min
annotation. The user input must be equal to or greater than this value.@Max
annotation : It is required to pass an integer value with @Max
annotation. The user input must be equal to or smaller than this value.