using System.ComponentModel.DataAnnotations;
namespace Oms.Application.Dtos.Ai;
public class AiSkillOutput
{
public int Id { get; set; }
public string SkillKey { get; set; } = string.Empty;
public string Scene { get; set; } = string.Empty;
public string Name { get; set; } = string.Empty;
public string? Description { get; set; }
public string Content { get; set; } = string.Empty;
public int SortOrder { get; set; }
public bool Enabled { get; set; }
}
public class AiSkillListInput
{
/// 可选场景过滤
public string? Scene { get; set; }
/// 是否包含正文;调用方列表可 false,管理页 true
public bool IncludeContent { get; set; } = true;
/// 是否仅启用
public bool EnabledOnly { get; set; }
}
public class AiSkillGetInput
{
public int? Id { get; set; }
public string? SkillKey { get; set; }
}
public class AiSkillSaveInput
{
public int? Id { get; set; }
[Required]
public string SkillKey { get; set; } = string.Empty;
[Required]
public string Scene { get; set; } = string.Empty;
[Required]
public string Name { get; set; } = string.Empty;
public string? Description { get; set; }
[Required]
public string Content { get; set; } = string.Empty;
public int SortOrder { get; set; }
public bool Enabled { get; set; } = true;
}
public class AiSkillDeleteInput
{
[Required]
public int Id { get; set; }
}