14 lines
390 B
Kotlin
14 lines
390 B
Kotlin
package eventDemo.domain.notification
|
|
|
|
import eventDemo.domain.entity.Player
|
|
import eventDemo.configuration.serializer.UUIDSerializer
|
|
import kotlinx.serialization.Serializable
|
|
import java.util.UUID
|
|
|
|
@Serializable
|
|
data class WelcomeToTheGameNotification(
|
|
@Serializable(with = UUIDSerializer::class)
|
|
override val id: UUID = UUID.randomUUID(),
|
|
val players: Set<Player>,
|
|
) : Notification
|