admin/src/Oms.Application/Dtos/Channels/AutoTriggerImportOutput.cs
zzh d5d6305f9c
All checks were successful
Build and Deploy / deploy (push) Successful in 1m2s
feat: 自动触发规则支持 Excel 导入与模板下载
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-12 15:31:19 +08:00

26 lines
541 B
C#

namespace Oms.Application.Dtos.Channels;
/// <summary>
/// 自动触发规则 Excel 导入结果。
/// </summary>
public class AutoTriggerImportOutput
{
public int SuccessCount { get; set; }
public int SkipCount { get; set; }
public int FailCount { get; set; }
public List<AutoTriggerImportFailRow> Failures { get; set; } = [];
}
/// <summary>
/// 导入失败行。
/// </summary>
public class AutoTriggerImportFailRow
{
public int RowNumber { get; set; }
public string Reason { get; set; } = string.Empty;
}