From 693b1477a35ee92792ce6f7aaa98e8721b4c6260 Mon Sep 17 00:00:00 2001 From: "zzzwangjun@gmail.com" <510423039@qq.com> Date: Sat, 18 Oct 2025 15:36:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=AD=97=E5=85=B8=E6=98=8E=E7=BB=86=E5=AD=97=E6=AE=B5=E9=95=BF?= =?UTF-8?q?=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DataDictionaries/Aggregates/DataDictionaryDetail.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain/DataDictionaries/Aggregates/DataDictionaryDetail.cs b/aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain/DataDictionaries/Aggregates/DataDictionaryDetail.cs index 3cfdd566..25f0f43b 100644 --- a/aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain/DataDictionaries/Aggregates/DataDictionaryDetail.cs +++ b/aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain/DataDictionaries/Aggregates/DataDictionaryDetail.cs @@ -10,6 +10,7 @@ namespace Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Aggregates /// /// 字典明细编码 /// + [MaxLength(DataDictionaryMaxLengths.Code)] public string Code { get; private set; } /// @@ -20,12 +21,14 @@ namespace Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Aggregates /// /// 英文显示名 /// + [MaxLength(DataDictionaryMaxLengths.DisplayText)] public string DisplayText { get; private set; } /// /// 描述 /// + [MaxLength(DataDictionaryMaxLengths.Description)] public string Description { get; private set; } ///