AdoS8ReportTemplateDtos.cs 1000 B

123456789101112131415161718192021222324
  1. namespace Admin.NET.Plugin.AiDOP.Dto.S8;
  2. /// <summary>
  3. /// S8-RULE-GOVERNANCE-BATCH4:主动提报模板列表行(只读)。
  4. /// 刻意不暴露 <c>status</c> / <c>currentStep</c> / <c>generatedRuleId</c> 等草稿态字段 ——
  5. /// 那些属于已退役的规则向导流程,与"提报模板"这个用途无关。
  6. /// </summary>
  7. public class S8ReportTemplateRowDto
  8. {
  9. public long Id { get; init; }
  10. public string TemplateCode { get; init; } = string.Empty;
  11. public string? TemplateName { get; init; }
  12. public string? Mechanism { get; init; }
  13. public string? StageCode { get; init; }
  14. public string? OrderFlowCode { get; init; }
  15. public string? ExceptionTypeCode { get; init; }
  16. }
  17. /// <summary>主动提报模板详情(只读)。</summary>
  18. public sealed class S8ReportTemplateDetailDto : S8ReportTemplateRowDto
  19. {
  20. /// <summary>模板内容原文,由前端解析后填入提报表单。</summary>
  21. public string TemplateJson { get; init; } = string.Empty;
  22. }