From 09b5b1e0f36aa444c878dcc19f6e3f8cb5d0a7de Mon Sep 17 00:00:00 2001 From: ZhouXY108 Date: Wed, 3 Apr 2024 15:29:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=85=83=E6=B3=A8=E8=A7=A3?= =?UTF-8?q?=20@Inherited=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/xyz/zhouxy/plusone/commons/annotation/ValueObject.java | 2 ++ 1 file changed, 2 insertions(+) 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 {