ServerEntity

@MappedEntity
data class ServerEntity(@Id val id: String, @NotEmpty val participants: List<String>, val channels: List<ChannelEntity> = emptyList())

Entity for servers

Constructors

Link copied to clipboard
constructor(@Id id: String, @NotEmpty participants: List<String>, channels: List<ChannelEntity> = emptyList())

Properties

Link copied to clipboard
Link copied to clipboard
val id: String
Link copied to clipboard

Functions

Link copied to clipboard