Package-level declarations

Types

Link copied to clipboard
class Channel(val id: ChannelId = ChannelId(), var name: String, val type: ChannelType, var description: String, val channelMessages: MutableList<ChannelMessage> = mutableListOf()) : Entity<ChannelId>
Link copied to clipboard
class ChannelId(value: String = newId()) : UUIDEntityId
Link copied to clipboard
class ChannelMessage(val id: ChannelMessageId = ChannelMessageId(), val sender: String, val content: String, val timestamp: Instant) : Entity<ChannelMessageId>
Link copied to clipboard
class ChannelMessageId(value: String = newId()) : UUIDEntityId
Link copied to clipboard
Link copied to clipboard
class Server(val id: ServerId = ServerId(), var name: String, var description: String = "", val owner: String, var users: MutableList<String> = mutableListOf(owner), var channels: MutableList<Channel> = mutableListOf()) : AggregateRoot<ServerId>
Link copied to clipboard
class ServerId(value: String = newId()) : UUIDEntityId
Link copied to clipboard