namespace Admin.NET.Plugin.AiDOP.Rule; /// /// 规则解析快照,用于记录一次业务执行实际生效的规则上下文。 /// public sealed class RuleConfigSnapshot 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 AppliedItems { get; set; } = new(); public List Warnings { get; set; } = new(); }