查看ZeroOneBoolean: Abs([YourBooleanField])
的文档:
@javax.validation.constraints.Min
现在看The annotated element must be a number whose value must be higher or equal to the specified minimum.
我看到了:
@Min.List
何时在同一元素上定义多个min注释会有用吗?
Defines several {@link Min} annotations on the same element.
这甚至意味着什么?
答案 0 :(得分:0)
很遗憾,我无法添加评论...但我认为您可以阅读此内容以解释您Java Bean Validation: How do I specify multiple validation constraints of the same type but with different groups?