@NotNull、@NotBlank和@NotEmpty
@NotNull:The annotated element must not be {@code null}.Accepts any type. 只是校验不能为null,任何类型的数据都可以用@NotEmpty:Asserts that the annotated string, collection, map or array is not {@code null} or empt...
原创
2019-09-09 15:06:44 ·
229 阅读 ·
0 评论