Server
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>
Constructors
Link copied to clipboard
constructor(id: ServerId = ServerId(), name: String, description: String = "", owner: String, users: MutableList<String> = mutableListOf(owner), channels: MutableList<Channel> = mutableListOf())