mirror of
https://github.com/farcasclaudiu/PracticeCalendar.git
synced 2026-06-22 11:01:27 +03:00
18 lines
498 B
C#
18 lines
498 B
C#
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; }
|
|
}
|
|
}
|