mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-08 09:38:26 +08:00
!331 fix: @Table 增加 @Inherited 注解
Merge pull request !331 from Jerry_Zheng/main
This commit is contained in:
commit
d9b0d3dad0
@ -15,10 +15,7 @@
|
|||||||
*/
|
*/
|
||||||
package com.mybatisflex.annotation;
|
package com.mybatisflex.annotation;
|
||||||
|
|
||||||
import java.lang.annotation.ElementType;
|
import java.lang.annotation.*;
|
||||||
import java.lang.annotation.Retention;
|
|
||||||
import java.lang.annotation.RetentionPolicy;
|
|
||||||
import java.lang.annotation.Target;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 数据库表信息注解。
|
* 数据库表信息注解。
|
||||||
@ -27,6 +24,7 @@ import java.lang.annotation.Target;
|
|||||||
*/
|
*/
|
||||||
@Retention(RetentionPolicy.RUNTIME)
|
@Retention(RetentionPolicy.RUNTIME)
|
||||||
@Target({ElementType.TYPE})
|
@Target({ElementType.TYPE})
|
||||||
|
@Inherited
|
||||||
public @interface Table {
|
public @interface Table {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user