Files
QYZH.InteractiveMagazine/QYZH.InteractiveMagazine.Models/Entity/AiBasePrompt.cs
glz 195792ec66 refactor: 统一数据库表名前缀,按业务模块拆分表名
对所有实体类的SugarTable特性以及菜单初始化SQL中的表名进行统一修改,将原有的零散表名调整为带业务前缀的规范命名,例如将系统管理相关表加上System_前缀、内容相关表加上Content_前缀、商城相关表加上Mall_前缀等,统一数据库表命名规范
2026-07-08 10:37:03 +08:00

62 lines
1.6 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.

using System;
using System.Linq;
using System.Text;
using SqlSugar;
namespace QYZH.InteractiveMagazine.Models.Entity
{
///<summary>
///AIPrompt配置表
///</summary>
[SugarTable("Ai_BasePrompt")]
public partial class AiBasePrompt : SqlSugarBaseEntity
{
public AiBasePrompt(){
}
/// <summary>
/// Desc:配置标识DEFAULT, READING, COMPREHENSION
/// Default:
/// Nullable:False
/// </summary>
public string PromptKey {get;set;}
/// <summary>
/// Desc:配置名称默认Prompt、阅读理解专用
/// Default:
/// Nullable:False
/// </summary>
public string PromptName {get;set;}
/// <summary>
/// Desc:Prompt模板内容
/// Default:
/// Nullable:False
/// </summary>
public string PromptTemplate {get;set;}
/// <summary>
/// Desc:配置说明
/// Default:
/// Nullable:True
/// </summary>
public string Description {get;set;}
/// <summary>
/// Desc:优先级(数值越小优先级越高)
/// Default:0
/// Nullable:False
/// </summary>
public int Priority {get;set;}
/// <summary>
/// Desc:是否为默认模板
/// Default:true
/// Nullable:False
/// </summary>
public bool IsDefault {get;set;}
}
}