Add project files.

This commit is contained in:
2022-10-06 16:53:07 +03:00
parent 45fac5e086
commit 6f3acce7d4
38 changed files with 1051 additions and 0 deletions
@@ -0,0 +1,17 @@
using PracticeCalendar.Domain.Common;
using PracticeCalendar.Domain.Entities;
namespace PracticeCalendar.Domain.Events
{
public sealed class AttendeeAddedEvent : DomainEventBase
{
public AttendeeAddedEvent(PracticeEvent eventAggregate, Attendee addedAtendee)
{
EventAggregate = eventAggregate;
AddedAtendee = addedAtendee;
}
public PracticeEvent EventAggregate { get; }
public Attendee AddedAtendee { get; set; }
}
}