|
|
@@ -123,4 +123,20 @@ public class AdoS8WatchRule
|
|
|
/// <summary>持续未命中 N 次才标 recovered(抗抖恢复);默认 1 = 立即恢复。</summary>
|
|
|
[SugarColumn(ColumnName = "recover_count_required")]
|
|
|
public int RecoverCountRequired { get; set; } = 1;
|
|
|
+
|
|
|
+ // ============================================================
|
|
|
+ // TASK-002-RESET-DIMENSION-MODEL-DEV-2A:业务维度归属字段(仅落列,建单/聚合逻辑由后续切片接入)
|
|
|
+ // ============================================================
|
|
|
+
|
|
|
+ /// <summary>S_STAGE 维度节点(S1-S7);scene_code 派生而来,规则配置时显式选择。</summary>
|
|
|
+ [SugarColumn(ColumnName = "stage_code", Length = 16, IsNullable = true)]
|
|
|
+ public string? StageCode { get; set; }
|
|
|
+
|
|
|
+ /// <summary>ORDER_FLOW 维度节点;首版允许 NULL,DEV-3 配置中心接入后按规则手选。</summary>
|
|
|
+ [SugarColumn(ColumnName = "order_flow_code", Length = 64, IsNullable = true)]
|
|
|
+ public string? OrderFlowCode { get; set; }
|
|
|
+
|
|
|
+ /// <summary>报警机制:MANUAL_REPORT / DATE / RATIO / VALUE_RANGE。与 source_type 不同,rule_mechanism 描述检测方式。</summary>
|
|
|
+ [SugarColumn(ColumnName = "rule_mechanism", Length = 32, IsNullable = true)]
|
|
|
+ public string? RuleMechanism { get; set; }
|
|
|
}
|