Friendship
class Friendship(id: FriendshipId = FriendshipId(), val users: Set<String> = mutableSetOf(), val messages: MutableList<Message> = mutableListOf()) : AggregateRoot<FriendshipId>
Constructors
Link copied to clipboard
constructor(id: FriendshipId = FriendshipId(), users: Set<String> = mutableSetOf(), messages: MutableList<Message> = mutableListOf())