diff --git a/imperium-common/src/main/kotlin/com/xpdustry/imperium/common/account/sql/SQLPunishmentManager.kt b/imperium-common/src/main/kotlin/com/xpdustry/imperium/common/account/sql/SQLPunishmentManager.kt index 994cac5d..08b84290 100644 --- a/imperium-common/src/main/kotlin/com/xpdustry/imperium/common/account/sql/SQLPunishmentManager.kt +++ b/imperium-common/src/main/kotlin/com/xpdustry/imperium/common/account/sql/SQLPunishmentManager.kt @@ -34,6 +34,7 @@ import kotlin.time.Duration import kotlin.time.toJavaDuration import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.asFlow +import kotlinx.serialization.Serializable import org.jetbrains.exposed.sql.Database import org.jetbrains.exposed.sql.ResultRow import org.jetbrains.exposed.sql.SchemaUtils @@ -68,6 +69,7 @@ enum class PardonResult { ALREADY_PARDONED } +@Serializable data class PunishmentEvent( val author: Identity, val type: Type,