How to use @Digits validation on integer value

前端 未结 0 1287
花落未央
花落未央 2020-12-29 17:03

I want to validate if incoming number is integer value (wihout fraction), between 0 and 100.

I have dto with javax.validation annotations:

@Min(value =         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题