Just use the annotation @Min
in your bean:
@Min(value = 0L, message = "The value must be positive")
private Double value;
Just use the annotation @Min
in your bean:
@Min(value = 0L, message = "The value must be positive")
private Double value;