diff --git a/AI.Common/Dtos/QuestionLogDto.cs b/AI.Common/Dtos/QuestionLogDto.cs
index 5fe3948..8ba5aae 100644
--- a/AI.Common/Dtos/QuestionLogDto.cs
+++ b/AI.Common/Dtos/QuestionLogDto.cs
@@ -27,5 +27,12 @@ namespace AI.Common.Dtos
/// 默认值:
///
public long Timestamp { get; set; }
+
+
+ ///
+ /// 备 注:角色 1:用户 2:GPT
+ /// 默认值:
+ ///
+ public int Chater { get; set; }
}
}
diff --git a/AI.Common/Entities/QuestionLog.cs b/AI.Common/Entities/QuestionLog.cs
index 1e50467..80cc2ba 100644
--- a/AI.Common/Entities/QuestionLog.cs
+++ b/AI.Common/Entities/QuestionLog.cs
@@ -55,6 +55,14 @@ namespace AI.Common.Entities
public long Timestamp { get; set; }
+
+ ///
+ /// 备 注:聊天角色 1:用户 2:gpt
+ /// 默认值:
+ ///
+ [SugarColumn(ColumnName = "chater")]
+ public int Chater { get; set; }
+
}
}
\ No newline at end of file