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>
71 lines
1.5 KiB
C#
71 lines
1.5 KiB
C#
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; }
|
||
}
|