using Domain.AggregateModel.AppAggregate; using MediatR; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Domain.Events { //更新了基础地址 public class AppBaseUrlUpdatedDomainEvent: INotification { public App App { get; set; } public string OldBaseUrl { get; set; } public AppBaseUrlUpdatedDomainEvent(App app,string oldBaseUrl) { App = app; OldBaseUrl = oldBaseUrl; } } }