HuanMengAdmin/admin-server/MiaoYu.Repository.ChatAI.Admin/Entities/Apps/T_Chat.cs
2024-07-28 03:18:36 +08:00

113 lines
2.5 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace MiaoYu.Repository.ChatAI.Admin.Entities.Apps;
/// <summary>
/// 聊天记录表
/// </summary>
[EntityDescription(FieldIgnored = true)]
public class T_Chat : DefaultEntityV4
{
/// <summary>
/// 聊天内容 => 备注: 聊天内容
/// </summary>
public Int32 UserId { get; set; }
/// <summary>
/// 消息内容 => 备注: 消息内容
/// </summary>
public string? Content { get; set; }
/// <summary>
/// 发送时间 => 备注: 发送时间
/// </summary>
public DateTime TimeStamp { get; set; }
/// <summary>
/// 创建时间 => 备注: 创建时间
/// </summary>
public DateTime CreateTime { get; set; }
/// <summary>
/// 更新时间 => 备注: 更新时间
/// </summary>
public DateTime UpdateTime { get; set; }
/// <summary>
/// 输入token => 备注: 输入token
/// </summary>
public Int32 Input_tokens { get; set; }
/// <summary>
/// 输出token => 备注: 输出token
/// </summary>
public Int32 Output_tokens { get; set; }
/// <summary>
/// 人物表Id => 备注: 人物表Id
/// </summary>
public Int32 CharacterId { get; set; }
/// <summary>
/// 角色 => 备注: user/assistant
/// </summary>
public string? Role { get; set; }
/// <summary>
/// 会话Id => 备注: SessionId
/// </summary>
public Guid SessionId { get; set; }
/// <summary>
/// 发送消息 => 备注: 发送消息,天
/// </summary>
public Int64 SendDateDay { get; set; }
/// <summary>
/// 发送消息时间戳 => 备注: 发送消息时间戳
/// </summary>
public Int64 SendMessageDay { get; set; }
/// <summary>
/// 消息状态 => 备注: 0正常1重新生成2 删除
/// </summary>
public Int32 Type { get; set; }
/// <summary>
/// 消息类型 => 备注: 聊天返回的消息的类型
/// </summary>
public string? ClaudeType { get; set; }
/// <summary>
/// ClaudeId => 备注: 聊天返回的Id
/// </summary>
public string? ClaudeId { get; set; }
/// <summary>
/// 人物模型 => 备注: 人物模型,聊天返回的模型
/// </summary>
public string? ClaudeModel { get; set; }
/// <summary>
/// 总Tokens => 备注: 消耗的token
/// </summary>
public Int32? Tokens { get; set; }
}