|
@@ -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 "";
|
|
|
}
|