Table.java 479 B

123456789101112131415161718192021222324
  1. package com.lc.jdbc3;
  2. import org.junit.Test;
  3. import java.lang.annotation.ElementType;
  4. import java.lang.annotation.Retention;
  5. import java.lang.annotation.RetentionPolicy;
  6. import java.lang.annotation.Target;
  7. /**
  8. * ClassName: Table
  9. *
  10. * @Author 爱扣钉-陈晨
  11. * @Create 2024/1/28 11:23
  12. * @Version 1.0
  13. */
  14. @Retention(RetentionPolicy.RUNTIME)
  15. @Target({ElementType.TYPE})
  16. public @interface Table {
  17. //抽象方法
  18. String value() default "";
  19. }