namespace Monitoring.Features.Analytics;

public class CountOfEventsResponseModel()
{
	public required List<CountOfEventsItemResponseModel> Events { get; init; }
	public required List<CountOfEventsItemResponseModel> Alarms { get; init; }
	public required List<CountOfEventsItemResponseModel> Faults { get; init; }
	public required List<CountOfEventsItemResponseModel> OperatorActions { get; init; }
}

public record CountOfEventsItemResponseModel(
	int Count,
	string Name
);