53 lines
1.2 KiB
C#
53 lines
1.2 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 long 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 = "question_content")]
|
|
public string? QuestionContent { get; set; }
|
|
|
|
/// <summary>
|
|
/// 备 注:
|
|
/// 默认值:
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "gpt_answer")]
|
|
public string? GptAnswer { get; set; }
|
|
|
|
|
|
}
|
|
|
|
} |