using SqlSugar; using Volo.Abp.Domain.Entities; using Yi.Framework.AiHub.Domain.Shared.Enums; namespace Yi.Framework.AiHub.Domain.Entities.OpenApi; [SugarTable("Ai_Message_Log")] public class MessageLogAggregateRoot : Entity { /// /// 请求内容(httpbody) /// [SugarColumn(ColumnDataType = "text")] public string? RequestBody { get; set; } /// /// 请求apikey /// [SugarColumn(Length = 255)] public string ApiKey { get; set; } /// /// 请求apikey名称 /// [SugarColumn(Length = 255)] public string ApiKeyName { get; set; } /// /// 创建时间 /// public DateTime CreationTime { get; set; } /// /// 模型id /// [SugarColumn(Length = 64)] public string ModelId { get; set; } /// /// api类型 /// public ModelApiTypeEnum ApiType { get; set; } /// /// api类型名称 /// [SugarColumn(Length = 16)] public string ApiTypeName { get; set; } }