Commit 48e385f8 authored by shiyu's avatar shiyu

sort检验

parent 0b8f054e
...@@ -16,7 +16,7 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME; ...@@ -16,7 +16,7 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
public @interface Sort { public @interface Sort {
String message() default "排序字段不支持"; String message() default "排序字段不支持";
String[] accepts() default { "created", "id" }; String[] accepts() default { "created", "id", "add_time", "update_time" };
Class<?>[] groups() default {}; Class<?>[] groups() default {};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment