package fr.elongeau.bank.account.core.events;

import fr.elongeau.bank.account.core.Entity;
import lombok.Getter;
import lombok.ToString;

@Getter
@ToString
@SuppressWarnings({"PMD.SingularField", "PMD.UnusedPrivateField"})
class AbstractEvent<E extends Entity<E>> implements Event<E> {

    private final EventId<E> eventId;

    AbstractEvent(
            final EventId<E> eventId
                 ) {
        this.eventId = eventId;
    }
}
