lighter %!s(int64=3) %!d(string=hai) anos
pai
achega
15f6d24816
Modificáronse 1 ficheiros con 11 adicións e 1 borrados
  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 "";
 }