commonMain.cccev.s2.framework.domain.command.FrameworkCreateCommand.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cccev-framework-domain-jvm Show documentation
Show all versions of cccev-framework-domain-jvm Show documentation
Kotlin implementation of Core Criterion and Core Evidence Vocabulary
package cccev.s2.framework.domain.command
import cccev.s2.framework.domain.FrameworkEvent
import cccev.s2.framework.domain.FrameworkId
import cccev.s2.framework.domain.FrameworkInitCommand
import kotlin.js.JsExport
import kotlin.js.JsName
import kotlinx.serialization.Serializable
@JsExport
@JsName("FrameworkCreateCommandDTO")
interface FrameworkCreateCommandDTO: FrameworkInitCommand {
val identifier: String?
val name: String
}
@Serializable
data class FrameworkCreateCommand(
override val identifier: String? = null,
override val name: String
): FrameworkCreateCommandDTO
@JsExport
@JsName("FrameworkCreatedEventDTO")
interface FrameworkCreatedEventDTO: FrameworkEvent {
override val id: FrameworkId
val identifier: String?
val name: String
}
@Serializable
data class FrameworkCreatedEvent(
override val id: FrameworkId,
override val identifier: String? = null,
override val name: String
): FrameworkCreatedEventDTO
© 2015 - 2024 Weber Informatics LLC | Privacy Policy