14 lines
365 B
Kotlin
14 lines
365 B
Kotlin
package eventDemo.app.notification
|
|
|
|
import eventDemo.app.entity.Player
|
|
import eventDemo.configuration.UUIDSerializer
|
|
import kotlinx.serialization.Serializable
|
|
import java.util.UUID
|
|
|
|
@Serializable
|
|
data class PlayerHavePassNotification(
|
|
@Serializable(with = UUIDSerializer::class)
|
|
override val id: UUID = UUID.randomUUID(),
|
|
val player: Player,
|
|
) : Notification
|