using QYZH.InteractiveMagazine.Models.Dto;
namespace QYZH.InteractiveMagazine.Models.Dto;
///
/// AIPrompt配置创建/更新输入
///
public class AiBasePromptInput
{
///
/// 配置标识(如:DEFAULT, READING, COMPREHENSION)
///
public string PromptKey { get; set; } = string.Empty;
///
/// 配置名称(如:默认Prompt、阅读理解专用)
///
public string PromptName { get; set; } = string.Empty;
///
/// Prompt模板内容
///
public string PromptTemplate { get; set; } = string.Empty;
///
/// 配置说明
///
public string? Description { get; set; }
///
/// 优先级(数值越小优先级越高)
///
public int Priority { get; set; }
///
/// 是否为默认模板
///
public bool IsDefault { get; set; } = true;
}
///
/// AIPrompt配置输出
///
public class AiBasePromptOutput
{
///
/// 主键ID
///
public long Id { get; set; }
///
/// 配置标识
///
public string PromptKey { get; set; } = string.Empty;
///
/// 配置名称
///
public string PromptName { get; set; } = string.Empty;
///
/// Prompt模板内容
///
public string PromptTemplate { get; set; } = string.Empty;
///
/// 配置说明
///
public string? Description { get; set; }
///
/// 优先级
///
public int Priority { get; set; }
///
/// 是否为默认模板
///
public bool IsDefault { get; set; }
///
/// 状态(1=启用, 0=禁用)
///
public int Status { get; set; }
///
/// 创建人
///
public string? CreatedBy { get; set; }
///
/// 创建时间
///
public DateTime CreatedAt { get; set; }
///
/// 更新人
///
public string? UpdatedBy { get; set; }
///
/// 更新时间
///
public DateTime? UpdatedAt { get; set; }
}
///
/// AIPrompt配置分页查询输入
///
public class AiBasePromptQueryInput : PageQueryModel
{
///
/// 配置标识(精确匹配)
///
public string? PromptKey { get; set; }
///
/// 配置名称(模糊查询)
///
public string? PromptName { get; set; }
}