xf 3 tháng trước cách đây
mục cha
commit
e3e8357827

+ 1 - 1
src/Hotline/KnowledgeBase/Knowledge.cs

@@ -215,7 +215,7 @@ public class Knowledge : WorkflowEntity//   WorkflowEntity  FullStateEntity
     /// <summary>
     /// 预案分类id
     /// </summary>
-    public string PlanTypeId { get; set; }
+    public string? PlanTypeId { get; set; }
 
 
     /// <summary>

+ 0 - 2
src/Hotline/KnowledgeBase/KnowledgeRelationType.cs

@@ -21,13 +21,11 @@ namespace Hotline.KnowledgeBase
         /// <summary>
         /// 知识库ID
         /// </summary>
-        [SugarColumn(IsPrimaryKey = true)]
         public string KnowledgeId { get; set; }
 
         /// <summary>
         /// 知识库类型ID
         /// </summary>
-        [SugarColumn(IsPrimaryKey = true)]
         public string KnowledgeTypeId { get; set; }
 
 		/// <summary>