added dummmy fields to AccountDeletedEvent

This commit is contained in:
dartpopikyardo
2016-09-16 16:03:47 +03:00
parent b0bfa7f29f
commit fe20a3fe90
2 changed files with 18 additions and 1 deletions

View File

@@ -20,7 +20,7 @@ public class Account extends ReflectiveMutableCommandProcessingAggregate<Account
}
public List<Event> process(DeleteAccountCommand cmd) {
return EventUtil.events(new AccountDeletedEvent());
return EventUtil.events(new AccountDeletedEvent(new Date()));
}
public List<Event> process(DebitAccountCommand cmd) {