1

removed final modifier from aggregate-id

This commit is contained in:
Christoph
2020-03-09 12:28:46 +01:00
parent cfb6af52c2
commit c7f9c0b985
2 changed files with 9 additions and 11 deletions

View File

@ -11,11 +11,7 @@ import java.lang.reflect.Method;
public abstract class Aggregate {
@Getter
protected final long id;
protected Aggregate(long id) {
this.id = id;
}
protected long id;
/**
* Ruft die spezifische applyEvent-Methode im entsprechenden Aggregat auf.