using Orleans;
using static Managing.Common.Enums;

namespace Managing.Application.Abstractions.Models;

/// <summary>
/// Event sent to AgentGrain to trigger summary updates
/// </summary>
[GenerateSerializer]
public class AgentSummaryUpdateEvent
{
    [Id(0)] public Guid BotId { get; set; }

    [Id(1)] public NotificationEventType EventType { get; set; }

    [Id(2)] public DateTime Timestamp { get; set; } = DateTime.UtcNow;

    [Id(3)] public string? AdditionalData { get; set; } // Optional additional context
}