Created
April 5, 2022 04:02
-
-
Save katzkb/087f78879f1182bd2ee51d9300d9f793 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
// データを10,000件用意 | |
val userSeq: Seq[User] = | |
(1L to 10000L).map(id => User(UserId(id), "name" + id.toString)) | |
val groupSeq: Seq[Group] = | |
(1L to 10000L).map(id => Group(GroupId(id), "name" + id.toString)) | |
val groupMemberSeq: Seq[GroupMember] = | |
(1L to 10000L).map(id => GroupMember(GroupMemberId(id), UserId(id), GroupId(id))) | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment