From 3de0006f63ba23b7d71e000d6f4b353554708fe9 Mon Sep 17 00:00:00 2001 From: stylefeng Date: Wed, 7 Aug 2024 00:22:27 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=908.3.0=E3=80=91=E3=80=90scanner?= =?UTF-8?q?=E3=80=91=E6=9B=B4=E6=96=B0=E5=AD=97=E6=AE=B5=E5=85=83=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E9=85=8D=E7=BD=AE=EF=BC=8C=E5=A2=9E=E5=8A=A0=E4=B8=80?= =?UTF-8?q?=E4=B8=AA=E4=B8=93=E9=97=A8=E6=94=BE=E6=95=B0=E7=BB=84=E5=85=83?= =?UTF-8?q?=E7=B4=A0=E7=9A=84=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kernel/scanner/api/pojo/resource/FieldMetadata.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/kernel-d-scanner/scanner-api/src/main/java/cn/stylefeng/roses/kernel/scanner/api/pojo/resource/FieldMetadata.java b/kernel-d-scanner/scanner-api/src/main/java/cn/stylefeng/roses/kernel/scanner/api/pojo/resource/FieldMetadata.java index 9669f082e..ddbf30fec 100644 --- a/kernel-d-scanner/scanner-api/src/main/java/cn/stylefeng/roses/kernel/scanner/api/pojo/resource/FieldMetadata.java +++ b/kernel-d-scanner/scanner-api/src/main/java/cn/stylefeng/roses/kernel/scanner/api/pojo/resource/FieldMetadata.java @@ -94,8 +94,11 @@ public class FieldMetadata { /** * 针对数组或集合类型的字段,指定泛型的类型,1-基本类型,2-对象类型 + *

+ * 废弃这个字段,用一个新的字段,记录数组的子类型,新字段为:arrayFieldMetadata */ @ChineseDescription("针对数组或集合类型的字段,指定泛型的类型,1-基本类型,2-对象类型") + @Deprecated private Integer genericFieldMetadataType; /** @@ -116,4 +119,10 @@ public class FieldMetadata { @ChineseDescription("泛型或object类型的字段的描述") private Set genericFieldMetadata; + /** + * 针对数组类型的字段,指定数组的子类型 + */ + @ChineseDescription("针对数组类型的字段,指定数组的子类型") + private FieldMetadata arrayFieldMetadata; + }