data class Profile(val id: Int, val userId: Int, val bio: String) data class Post(val id: Int, val userId: Int, val message: String) data class UserWithProfile(val user: User, val profile: Profile) data class UserWithPosts(val user: User, val posts: List<Post>) data class UserWithProfileAndPosts(val user: User, val profile: Profile, val posts: List<Post>) // ...