mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-09-17 07:56:27 -04:00
18 lines
458 B
C#
18 lines
458 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace Cleanuparr.Infrastructure.Stats;
|
|
|
|
public class EventStats
|
|
{
|
|
public int TotalCount { get; set; }
|
|
|
|
public Dictionary<string, int> ByType { get; set; } = new();
|
|
|
|
public Dictionary<string, int> BySeverity { get; set; } = new();
|
|
|
|
public int TimeframeHours { get; set; }
|
|
|
|
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
|
public List<RecentEventDto>? RecentItems { get; set; }
|
|
}
|