| 123456789101112131415161718 |
- namespace Admin.NET.Plugin.AiDOP.Rule;
- /// <summary>
- /// 规则解析快照,用于记录一次业务执行实际生效的规则上下文。
- /// </summary>
- public sealed class RuleConfigSnapshot<TOptions>
- where TOptions : class, new()
- {
- public string ModuleCode { get; set; } = string.Empty;
- public string ScenarioCode { get; set; } = string.Empty;
- public string Source { get; set; } = string.Empty;
- public DateTime ResolvedAt { get; set; }
- public long TenantId { get; set; }
- public long? FactoryId { get; set; }
- public TOptions Options { get; set; } = new();
- public List<RuleConfigAppliedItem> AppliedItems { get; set; } = new();
- public List<string> Warnings { get; set; } = new();
- }
|