Created
April 5, 2022 03:51
-
-
Save katzkb/1865721ed59f8333fa2e0d90d1803239 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
case class UserId(value: Long) | |
case class User ( | |
id: UserId, | |
name: String | |
) | |
case class GroupId(value: Long) | |
case class Group ( | |
id: GroupId, | |
name: String | |
) | |
case class GroupMemberId(value: Long) | |
case class GroupMember ( | |
id: GroupMemberId, | |
userId: UserId, | |
groupId: GroupId | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment