aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/me/brysonsteck/wiimmfiwatcher/model
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java/me/brysonsteck/wiimmfiwatcher/model')
-rw-r--r--app/src/main/java/me/brysonsteck/wiimmfiwatcher/model/FriendCode.java22
1 files changed, 22 insertions, 0 deletions
diff --git a/app/src/main/java/me/brysonsteck/wiimmfiwatcher/model/FriendCode.java b/app/src/main/java/me/brysonsteck/wiimmfiwatcher/model/FriendCode.java
new file mode 100644
index 0000000..5856a22
--- /dev/null
+++ b/app/src/main/java/me/brysonsteck/wiimmfiwatcher/model/FriendCode.java
@@ -0,0 +1,22 @@
+package me.brysonsteck.wiimmfiwatcher.model;
+
+import androidx.annotation.NonNull;
+import androidx.room.ColumnInfo;
+import androidx.room.Entity;
+import androidx.room.PrimaryKey;
+
+import java.io.Serializable;
+
+@Entity
+public class FriendCode implements Serializable {
+ @PrimaryKey (autoGenerate = true)
+ public long id;
+
+ @ColumnInfo(name="name")
+ public String name;
+
+ @NonNull
+ @ColumnInfo(name="friendCode")
+ public String friendCode;
+
+} \ No newline at end of file