aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/me/brysonsteck/wiimmfiwatcher/model/FriendCode.java
blob: 5856a22d481866c821f16777f2288c0a9f65df14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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;

}