From fd27e72e037a4a6b48510dc063d8690ddf46ff52 Mon Sep 17 00:00:00 2001 From: youngq Date: Fri, 29 Nov 2024 18:05:17 +0800 Subject: [PATCH] 1 --- AI.Common/Dtos/QuestionLogDto.cs | 7 +++++++ AI.Common/Entities/QuestionLog.cs | 8 ++++++++ 2 files changed, 15 insertions(+) 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