RightJoin.java 302 B

12345678910111213141516171819
  1. package com.poyee.annotation.db;
  2. import java.lang.annotation.*;
  3. /**
  4. * 右连接
  5. */
  6. @Target({ElementType.FIELD})
  7. @Retention(RetentionPolicy.RUNTIME)
  8. @Documented
  9. public @interface RightJoin {
  10. // 表名
  11. String table();
  12. // 关联条件
  13. String on();
  14. // 别名
  15. String alias();
  16. }