org.enodeframework.queue.domainevent.GenericDomainEventMessage.kt Maven / Gradle / Ivy
package org.enodeframework.queue.domainevent
import com.google.common.collect.Maps
import java.io.Serializable
import java.util.*
/**
* @author [email protected]
*/
class GenericDomainEventMessage : Serializable {
var id: String = ""
var aggregateRootId: String = ""
var aggregateRootTypeName: String = ""
var version = 0
var timestamp: Date = Date()
var commandId: String = ""
var events: Map = Maps.newHashMap()
var items: MutableMap = Maps.newHashMap()
}