Package-level declarations

Types

Link copied to clipboard
@MappedEntity
data class ChannelEntity(@Id val id: String, val name: String, val description: String, val channelType: String, val messages: List<MessageEntity> = emptyList())
Link copied to clipboard
@MappedEntity
data class MessageEntity(@Id val id: String, val content: String, val sender: String, val timestamp: String = Instant.now().toString())
Link copied to clipboard
@MappedEntity
data class ServerEntity(@Id val id: String, val name: String, val description: String, val owner: String, val users: List<String> = listOf(owner), val channels: List<ChannelEntity> = emptyList())
Link copied to clipboard
@MongoRepository
interface ServerModelRepository : CrudRepository<ServerEntity, String>