Files
event-demo/src/main/kotlin/eventDemo/app/notification/CommandSuccessNotification.kt
Fabrice Lecomte ca95344ca9 Send Success notification when Command is executed
extract Action of the Commands
simplify somme classes
2025-04-14 23:39:45 +02:00

15 lines
399 B
Kotlin

package eventDemo.app.notification
import eventDemo.configuration.UUIDSerializer
import eventDemo.libs.command.CommandId
import kotlinx.serialization.Serializable
import java.util.UUID
@Serializable
data class CommandSuccessNotification(
@Serializable(with = UUIDSerializer::class)
override val id: UUID = UUID.randomUUID(),
val commandId: CommandId,
) : Notification,
CommandNotification