diff --git a/src/main/java/xyz/zhouxy/plusone/commons/annotation/ValueObject.java b/src/main/java/xyz/zhouxy/plusone/commons/annotation/ValueObject.java index ab21144..b719c60 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/annotation/ValueObject.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/annotation/ValueObject.java @@ -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 ZhouXY * @since 0.1.0 */ +@Inherited @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) public @interface ValueObject {