using ColaFlow.Shared.Kernel.Events;
using ColaFlow.Modules.ProjectManagement.Domain.ValueObjects;

namespace ColaFlow.Modules.ProjectManagement.Domain.Events;

/// <summary>
/// Event raised when a task is created
/// </summary>
public sealed record TaskCreatedEvent(
    TaskId TaskId,
    TenantId TenantId,
    ProjectId ProjectId,
    StoryId StoryId,
    string TaskTitle
) : DomainEvent;
