From 46e60a62ec88c5620865163ed00d037d770d9b2c Mon Sep 17 00:00:00 2001
From: sunpengfei <i@angelzzz.com>
Date: 星期二, 05 八月 2025 13:52:47 +0800
Subject: [PATCH] pref:优化

---
 FlexJobApi.Core/Entities/Common/DictionaryData.cs |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/FlexJobApi.Core/Entities/Common/DictionaryData.cs b/FlexJobApi.Core/Entities/Common/DictionaryData.cs
index 5b55b65..a7583f9 100644
--- a/FlexJobApi.Core/Entities/Common/DictionaryData.cs
+++ b/FlexJobApi.Core/Entities/Common/DictionaryData.cs
@@ -17,7 +17,7 @@
     {
         public DictionaryData()
         {
-            Childrens = [];
+            Children = [];
         }
 
         /// <summary>
@@ -43,7 +43,12 @@
         /// <summary>
         /// 涓嬬骇
         /// </summary>
-        public List<DictionaryData> Childrens { get; set; }
+        public List<DictionaryData> Children { get; set; }
+
+        /// <summary>
+        /// 瀛楀吀璺緞
+        /// </summary>
+        public string Path { get; set; }
 
         /// <summary>
         /// 缂栧彿
@@ -85,7 +90,7 @@
         public void Configure(EntityTypeBuilder<DictionaryData> entityBuilder, DbContext dbContext, Type dbContextLocator)
         {
             entityBuilder
-                .HasMany(x => x.Childrens)
+                .HasMany(x => x.Children)
                 .WithOne(x => x.Parent)
                 .HasForeignKey(x => x.ParentId)
                 .OnDelete(DeleteBehavior.ClientSetNull);

--
Gitblit v1.9.1