admin/src/Oms.Application/Dtos/Channels/AutoTriggerMetaOutput.cs
zzh 43563b727f feat: 自动触发公式引擎与查价运输方式分组接口
实现中文公式预报前拦截、规则测试 API 及按销售产品分组返回查价运输方式选项。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-09 18:36:17 +08:00

33 lines
833 B
C#

namespace Oms.Application.Dtos.Channels;
public class AutoTriggerMetaOutput
{
public List<AutoTriggerFormulaCategoryOutput> Categories { get; set; } = [];
public List<AutoTriggerFormulaFieldOutput> Fields { get; set; } = [];
public string OversizeExampleFormula { get; set; } = string.Empty;
public int FormulaMaxLength { get; set; } = 10000;
}
public class AutoTriggerFormulaCategoryOutput
{
public string Key { get; set; } = string.Empty;
public string Label { get; set; } = string.Empty;
}
public class AutoTriggerFormulaFieldOutput
{
public string Table { get; set; } = string.Empty;
public string Field { get; set; } = string.Empty;
public string Label { get; set; } = string.Empty;
public string ValueType { get; set; } = string.Empty;
public bool Virtual { get; set; }
}