admin/src/Oms.Application/Dtos/Ai/AiSkillDtos.cs
zzh c8107cb565 feat: add additional-service billing, conditions, and fee lifecycle hardening
Support optional services and executable billing conditions on sell/buy prices, percent-of-value and percent-of-freight formulas, place-order/inbound payable on chargeable weight, outbound receivable freeze, channel remote areas, billing simulate, and insurance-aware claims.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-01 18:04:28 +08:00

71 lines
1.5 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.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
{
/// <summary>可选场景过滤</summary>
public string? Scene { get; set; }
/// <summary>是否包含正文;调用方列表可 false,管理页 true</summary>
public bool IncludeContent { get; set; } = true;
/// <summary>是否仅启用</summary>
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; }
}