添加元注解 @Inherited。

dev
ZhouXY108 2024-04-03 15:29:20 +08:00
parent b547642e5e
commit 09b5b1e0f3
1 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,7 @@
package xyz.zhouxy.plusone.commons.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@ -27,6 +28,7 @@ import java.lang.annotation.Target;
* @author <a href="https://gitee.com/zhouxy108">ZhouXY</a>
* @since 0.1.0
*/
@Inherited
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface ValueObject {