Walle.Api/AI.Common/Entities/QuestionLog.cs

68 lines
1.6 KiB
C#

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