|
|
@@ -139,4 +139,28 @@ public class AdoS8Exception
|
|
|
/// <summary>检验意见</summary>
|
|
|
[SugarColumn(ColumnName = "verification_remark", Length = 2000, IsNullable = true)]
|
|
|
public string? VerificationRemark { get; set; }
|
|
|
+
|
|
|
+ /// <summary>R1 持久化去重键(首版仅普通列,唯一约束在后续小步加)。</summary>
|
|
|
+ [SugarColumn(ColumnName = "dedup_key", Length = 128, IsNullable = true)]
|
|
|
+ public string? DedupKey { get; set; }
|
|
|
+
|
|
|
+ /// <summary>R1 最近一次被规则检测命中的时间(首版仅落列,service 暂不写)。</summary>
|
|
|
+ [SugarColumn(ColumnName = "last_detected_at", IsNullable = true)]
|
|
|
+ public DateTime? LastDetectedAt { get; set; }
|
|
|
+
|
|
|
+ /// <summary>R1 规则恢复时间(首版仅落列,service 暂不写)。</summary>
|
|
|
+ [SugarColumn(ColumnName = "recovered_at", IsNullable = true)]
|
|
|
+ public DateTime? RecoveredAt { get; set; }
|
|
|
+
|
|
|
+ /// <summary>R1 来源规则人读编码(与 source_rule_id 配合,首版仅落列)。</summary>
|
|
|
+ [SugarColumn(ColumnName = "source_rule_code", Length = 64, IsNullable = true)]
|
|
|
+ public string? SourceRuleCode { get; set; }
|
|
|
+
|
|
|
+ /// <summary>R1 源对象类型(DEVICE / ORDER 等,首版仅落列)。</summary>
|
|
|
+ [SugarColumn(ColumnName = "source_object_type", Length = 64, IsNullable = true)]
|
|
|
+ public string? SourceObjectType { get; set; }
|
|
|
+
|
|
|
+ /// <summary>R1 源对象主键或业务 ID(字符串以适配跨表/跨域,首版仅落列)。</summary>
|
|
|
+ [SugarColumn(ColumnName = "source_object_id", Length = 64, IsNullable = true)]
|
|
|
+ public string? SourceObjectId { get; set; }
|
|
|
}
|