aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/trygvis/esper/testing/core/db/PersonBadgeDto.java
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2012-12-22 19:33:23 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2012-12-22 19:33:23 +0100
commit78e7933c0af1d11d9476c5ee213c64ad87066f55 (patch)
treeb7d7f908bf24c5ce000dac9b6ff0dfb63c30b5ee /src/main/java/io/trygvis/esper/testing/core/db/PersonBadgeDto.java
parentc8c863ce36f57954369a0b4a15e6c5e720f03f87 (diff)
downloadesper-testing-78e7933c0af1d11d9476c5ee213c64ad87066f55.tar.gz
esper-testing-78e7933c0af1d11d9476c5ee213c64ad87066f55.tar.bz2
esper-testing-78e7933c0af1d11d9476c5ee213c64ad87066f55.tar.xz
esper-testing-78e7933c0af1d11d9476c5ee213c64ad87066f55.zip
o First badge: UNBREAKABLE.
Diffstat (limited to 'src/main/java/io/trygvis/esper/testing/core/db/PersonBadgeDto.java')
-rw-r--r--src/main/java/io/trygvis/esper/testing/core/db/PersonBadgeDto.java25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/main/java/io/trygvis/esper/testing/core/db/PersonBadgeDto.java b/src/main/java/io/trygvis/esper/testing/core/db/PersonBadgeDto.java
new file mode 100644
index 0000000..5bbe159
--- /dev/null
+++ b/src/main/java/io/trygvis/esper/testing/core/db/PersonBadgeDto.java
@@ -0,0 +1,25 @@
+package io.trygvis.esper.testing.core.db;
+
+import io.trygvis.esper.testing.*;
+import org.joda.time.*;
+
+import java.util.*;
+
+public class PersonBadgeDto extends AbstractEntity {
+ public enum Type {
+ UNBREAKABLE
+ }
+
+ public final UUID person;
+ public final Type type;
+ public final int level;
+ public final int count;
+
+ public PersonBadgeDto(UUID uuid, DateTime createdDate, UUID person, Type type, int level, int count) {
+ super(uuid, createdDate);
+ this.person = person;
+ this.type = type;
+ this.level = level;
+ this.count = count;
+ }
+}