20 lines
512 B
C#
20 lines
512 B
C#
using System;
|
|
using webapi.Domain.AggregatesModel.FlatAggregate;
|
|
using webapi.Domain.SeedWork;
|
|
|
|
namespace webapi.Domain.Events
|
|
{
|
|
public class AddUserToFlatMappingDomainEvent: INotification
|
|
{
|
|
public Guid UserId { get; }
|
|
public Flat Flat { get; }
|
|
public string PMSUserName;
|
|
|
|
public AddUserToFlatMappingDomainEvent(Flat flat, Guid userId, string pmsUserName) {
|
|
Flat = flat;
|
|
UserId = userId;
|
|
PMSUserName = pmsUserName;
|
|
}
|
|
}
|
|
}
|