aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/me/brysonsteck/wiimmfiwatcher/model/FriendCode.java
diff options
context:
space:
mode:
authorBryson Steck <steck.bryson@gmail.com>2021-05-08 14:58:18 -0600
committerBryson Steck <steck.bryson@gmail.com>2021-05-08 14:58:18 -0600
commitfc908199f136acd2a5030e5085f024857cd2cfb5 (patch)
tree60e5569fe239bec0c287b69aefd3cff6b95449f7 /app/src/main/java/me/brysonsteck/wiimmfiwatcher/model/FriendCode.java
parent1231683daeee4054a9da7204339b9beeb172981e (diff)
downloadwiimmfi-watcher-fc908199f136acd2a5030e5085f024857cd2cfb5.tar
wiimmfi-watcher-fc908199f136acd2a5030e5085f024857cd2cfb5.tar.gz
wiimmfi-watcher-fc908199f136acd2a5030e5085f024857cd2cfb5.tar.bz2
changed api and package name
Diffstat (limited to 'app/src/main/java/me/brysonsteck/wiimmfiwatcher/model/FriendCode.java')
-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