Browse Source

no message

lighter 3 years ago
parent
commit
15f6d24816
1 changed files with 11 additions and 1 deletions
  1. 11 1
      src/main/java/thyyxxk/webserver/config/ColumnName.java

+ 11 - 1
src/main/java/thyyxxk/webserver/config/ColumnName.java

@@ -1,2 +1,12 @@
-package thyyxxk.webserver.config;public @interface ColumnName {
+package thyyxxk.webserver.config;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Retention(RetentionPolicy.RUNTIME)
+@Target({ElementType.METHOD, ElementType.FIELD, ElementType.PARAMETER})
+public @interface ColumnName {
+    String name() default "";
 }