ottobotv2/src/main/kotlin/nl/voidcorp/discord/storage/GuildStore.kt

18 lines
477 B
Kotlin

package nl.voidcorp.discord.storage
import javax.annotation.Generated
import javax.persistence.ElementCollection
import javax.persistence.Entity
import javax.persistence.Id
@Entity
data class GuildStore(
var guildId: Long,
@ElementCollection var moderatorRoles: MutableList<Long> = mutableListOf(),
@ElementCollection var adminRoles: MutableList<Long> = mutableListOf(),
var defaultVerified: Boolean = false,
@Id
@Generated
var id: Long? = null
)