From fc908199f136acd2a5030e5085f024857cd2cfb5 Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Sat, 8 May 2021 14:58:18 -0600 Subject: changed api and package name --- .../wiimmfiwatcher/model/FriendCode.java | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 app/src/main/java/me/brysonsteck/wiimmfiwatcher/model/FriendCode.java (limited to 'app/src/main/java/me/brysonsteck/wiimmfiwatcher/model') 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 -- cgit v1.2.3