添加serilog日志支持和部分其他efcore代码
This commit is contained in:
@@ -7,9 +7,8 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace Domain.AggregateModel.AppAggregate
|
||||
{
|
||||
public class App : IAggregateRoot
|
||||
public class App :Entity, IAggregateRoot
|
||||
{
|
||||
public int Id { get; private set; }
|
||||
public string AppKey { get;private set; }
|
||||
public string BaseUrl { get; private set; }
|
||||
public string Remarks { get;private set; }
|
||||
|
||||
@@ -10,7 +10,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace Domain.AggregateModel.LinkAggregate
|
||||
{
|
||||
public class Link:IAggregateRoot
|
||||
public class Link:Entity,IAggregateRoot
|
||||
{
|
||||
/// <summary>
|
||||
/// 非自增主键
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netstandard2.0</TargetFramework>
|
||||
<TargetFramework>netstandard2.1</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
Reference in New Issue
Block a user