--- /dev/null
+package de.juplo.kafka.wordcount.query;
+
+import lombok.RequiredArgsConstructor;
+import lombok.Value;
+
+
+@Value
+@RequiredArgsConstructor(staticName = "of")
+public class UserRankingResponse
+{
+ private final String firstName;
+ private final String lastName;
+ private final Entry[] top10;
+
+
+ @Value(staticConstructor = "of")
+ public static class Entry
+ {
+ private final String word;
+ private final Long count;
+ }
+}