!331 fix: @Table 增加 @Inherited 注解

Merge pull request !331 from Jerry_Zheng/main
This commit is contained in:
Michael Yang 2023-09-08 01:21:56 +00:00 committed by Gitee
commit d9b0d3dad0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -15,10 +15,7 @@
*/
package com.mybatisflex.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.lang.annotation.*;
/**
* 数据库表信息注解
@ -27,6 +24,7 @@ import java.lang.annotation.Target;
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Inherited
public @interface Table {
/**