All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.dk.cachet.carp.common.domain.DomainEvent.kt Maven / Gradle / Ivy

Go to download

Helper classes and base types relied upon by all subsystems. This library does not contain any domain logic.

The newest version!
package dk.cachet.carp.common.domain

import dk.cachet.carp.common.application.Immutable
import dk.cachet.carp.common.application.ImplementAsDataClass
import kotlinx.serialization.Polymorphic


/**
 * A domain event raised by an [AggregateRoot].
 *
 * Domain events need to be immutable.
 */
@Polymorphic
@Immutable
@ImplementAsDataClass
interface DomainEvent




© 2015 - 2024 Weber Informatics LLC | Privacy Policy