添加命令数据验证和其他杂项修改

This commit is contained in:
2021-02-24 16:28:08 +08:00
parent 12ecdf3159
commit 41794aa1bc
32 changed files with 310 additions and 484 deletions

View File

@@ -0,0 +1,21 @@
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;
}
}
}