@@ -23,6 +23,7 @@ public abstract class Entity : IEntity<Guid>
|
||||
#region 领域事件 仅仅允许通过提供的方法进行操作
|
||||
|
||||
[JsonIgnore]
|
||||
[NotMapped]
|
||||
private readonly List<DomainEvent> _domainEvents = [];
|
||||
|
||||
[JsonIgnore]
|
||||
|
||||
Reference in New Issue
Block a user