|
@@ -162,6 +162,18 @@ public class Knowledge : WorkflowEntity// WorkflowEntity FullStateEntity
|
|
|
/// 评论数
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "评论数")]
|
|
|
- public int? CommentNum { get; set; } = 0;
|
|
|
+ public int? CommentNum { get; set; } = 0;
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 来源部门
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "来源部门")]
|
|
|
+ public string? SourceOrganizeId { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 来源部门
|
|
|
+ /// </summary>
|
|
|
+ [Navigate(NavigateType.OneToOne, nameof(SourceOrganizeId))]//一对一
|
|
|
+ public SystemOrganize SourceOrganize { get; set; }
|
|
|
|
|
|
}
|