22 lines
434 B
C#
22 lines
434 B
C#
using Domain.AggregateModel.LinkAggregate;
|
|
using MediatR;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Domain.Events
|
|
{
|
|
//短链接生成通知
|
|
public class LinkCreatedDomainEvent:INotification
|
|
{
|
|
public Link Link { get; set; }
|
|
|
|
public LinkCreatedDomainEvent(Link link)
|
|
{
|
|
Link = link;
|
|
}
|
|
}
|
|
}
|