feat: 增加唯一字段验证
This commit is contained in:
parent
372ae99c73
commit
9ef064b4eb
@ -26,7 +26,7 @@ public @interface UniqueField {
|
||||
String message() default "集合中的关键字段不唯一!";
|
||||
|
||||
// 唯一字段
|
||||
String value();
|
||||
String value() default "";
|
||||
|
||||
//分组
|
||||
Class<?>[] groups() default {};
|
||||
|
Loading…
Reference in New Issue
Block a user