@@ -215,5 +215,5 @@ public class Knowledge : WorkflowEntity// WorkflowEntity FullStateEntity
/// 收藏数量
/// </summary>
[SugarColumn(ColumnDescription = "收藏数量")]
- public int CollectCount { get; set; }
+ public int? CollectCount { get; set; } = 0;
}
@@ -31,7 +31,7 @@ public class KnowledgeHotWord : CreationEntity
/// 类型
[SugarColumn(ColumnDescription = "类型")]
- public EKnowledgeHotWordType Type { get; set; }
+ public EKnowledgeHotWordType? Type { get; set; }
/// <summary>
/// 是否启用