diff --git a/domain/event/base_domain_event.go b/domain/event/base_domain_event.go index fee5788..74ae91c 100644 --- a/domain/event/base_domain_event.go +++ b/domain/event/base_domain_event.go @@ -3,6 +3,8 @@ package event import "time" type IBaseDomainEvent interface { - EventName() string + Name() string + ToJson() (string, error) + ID() string OccurredAt() time.Time }