using System; using System.Collections.Generic; using System.Linq; using SqlSugar; namespace AI.Common.Entities { /// /// /// [SugarTable("question_log")] public class QuestionLog { /// /// 备 注: /// 默认值: /// [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)] public UInt64 Id { get; set; } /// /// 备 注: /// 默认值: /// [SugarColumn(ColumnName = "create_time", IsOnlyIgnoreInsert = true, IsOnlyIgnoreUpdate = true)] public DateTime Create_time { get; set; } /// /// 备 注:提问人 /// 默认值: /// [SugarColumn(ColumnName = "uid")] public long Uid { get; set; } /// /// 备 注:内容 /// 默认值: /// [SugarColumn(ColumnName = "content")] public string Content { get; set; } /// /// 备 注:类型 1:文本 2:图片 3:文件 /// 默认值: /// [SugarColumn(ColumnName = "type")] public int Type { get; set; } /// /// 备 注:发生时间戳 /// 默认值: /// [SugarColumn(ColumnName = "timestamp")] public long Timestamp { get; set; } /// /// 备 注:聊天角色 1:用户 2:gpt /// 默认值: /// [SugarColumn(ColumnName = "chater")] public int Chater { get; set; } } }