diff --git a/src/main/kotlin/fr/dcproject/event/EventSubscriber.kt b/src/main/kotlin/fr/dcproject/event/EventSubscriber.kt index 0abd3f8..23f553d 100644 --- a/src/main/kotlin/fr/dcproject/event/EventSubscriber.kt +++ b/src/main/kotlin/fr/dcproject/event/EventSubscriber.kt @@ -9,7 +9,7 @@ import kotlinx.coroutines.DisposableHandle import org.joda.time.DateTime import kotlin.random.Random.Default.nextInt -abstract class Event( +open class Event( val type: String, val createdAt: DateTime = DateTime.now() ) : Serializable {