diff --git a/MiniSpace.Services.Notifications/src/MiniSpace.Services.Notifications.Application/Events/External/Posts/PostCreated.cs b/MiniSpace.Services.Notifications/src/MiniSpace.Services.Notifications.Application/Events/External/Posts/PostCreated.cs index 6804e4e24..26511ddc0 100644 --- a/MiniSpace.Services.Notifications/src/MiniSpace.Services.Notifications.Application/Events/External/Posts/PostCreated.cs +++ b/MiniSpace.Services.Notifications/src/MiniSpace.Services.Notifications.Application/Events/External/Posts/PostCreated.cs @@ -1,5 +1,7 @@ using Convey.CQRS.Events; using Convey.MessageBrokers; +using System; +using System.Collections.Generic; namespace MiniSpace.Services.Notifications.Application.Events.External { @@ -7,10 +9,27 @@ namespace MiniSpace.Services.Notifications.Application.Events.External public class PostCreated : IEvent { public Guid PostId { get; } + public Guid? UserId { get; } + public Guid? OrganizationId { get; } + public Guid? EventId { get; } + public string TextContent { get; } + public IEnumerable MediaFilesUrls { get; } + public string Context { get; } + public string Visibility { get; } + public bool ShouldNotify { get; } - public PostCreated(Guid postId) + public PostCreated(Guid postId, Guid? userId, Guid? organizationId, Guid? eventId, string textContent, + IEnumerable mediaFilesUrls, string context, string visibility, bool shouldNotify) { PostId = postId; + UserId = userId; + OrganizationId = organizationId; + EventId = eventId; + TextContent = textContent; + MediaFilesUrls = mediaFilesUrls; + Context = context; + Visibility = visibility; + ShouldNotify = shouldNotify; } } -} \ No newline at end of file +}