Package-level declarations

Types

Link copied to clipboard
class Friendship(id: FriendshipId = FriendshipId(), val users: Set<String> = mutableSetOf(), val messages: MutableList<Message> = mutableListOf()) : AggregateRoot<FriendshipId>
Link copied to clipboard
class FriendshipId(value: String = newId()) : UUIDEntityId
Link copied to clipboard
class FriendshipRequest(val id: FriendshipRequestId = FriendshipRequestId(), val from: String, val to: String) : AggregateRoot<FriendshipRequestId>
Link copied to clipboard
class FriendshipRequestId(value: String = newId()) : UUIDEntityId
Link copied to clipboard
class Message(val id: MessageId = MessageId(), val sender: String, val content: String, val timestamp: Instant) : Entity<MessageId>
Link copied to clipboard
class MessageId(value: String = newId()) : UUIDEntityId

Functions

Link copied to clipboard