using System;
namespace GB5Shared.SIP;
///
/// Aggregated view of one 's occurrences for an entity, computed from the
/// Interaction Pattern Ledger by ISIPSignalService.GetPatternSummaryAsync.
///
public class PatternSummaryDTO
{
public string SignalType { get; set; } = string.Empty;
public int OccurrenceCount { get; set; }
public DateTime FirstSeen { get; set; }
public DateTime LastSeen { get; set; }
///
/// True when crosses a recurrence threshold within a rolling
/// window. v1 hardcodes 3+ occurrences within a 30-day span (set in
/// FrameworkBLL.SIP.SIPSignalService.GetPatternSummaryAsync).
/// TODO: make the threshold/window configurable per domain/signal type.
///
public bool IsRecurring { get; set; }
}