Skip to content

Commit

Permalink
(#411) notifications: update event created event handler
Browse files Browse the repository at this point in the history
  • Loading branch information
SaintAngeLs committed Sep 16, 2024
1 parent a8389d8 commit 0ca85e9
Showing 1 changed file with 14 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,19 @@
namespace MiniSpace.Services.Notifications.Application.Events.External
{
[Message("events")]
public class EventCreated(Guid eventId, Guid organizerId, IEnumerable<Guid> mediaFilesIds) : IEvent
public class EventCreated : IEvent
{
public Guid EventId { get; set; } = eventId;
public Guid OrganizerId { get; set; } = organizerId;
public IEnumerable<Guid> MediaFilesIds { get; set; } = mediaFilesIds;
public Guid EventId { get; set; }
public string OrganizerType { get; set; }
public Guid OrganizerId { get; set; }
public IEnumerable<string> MediaFilesUrls { get; set; }

public EventCreated(Guid eventId, string organizerType, Guid organizerId, IEnumerable<string> mediaFilesUrls)
{
EventId = eventId;
OrganizerType = organizerType;
OrganizerId = organizerId;
MediaFilesUrls = mediaFilesUrls;
}
}
}
}

0 comments on commit 0ca85e9

Please sign in to comment.