aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/com/example/wiimmterfaceandroid/model/FriendCode.java
blob: cb13138474eda9733350a83f224ed6744f3a6928 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package com.example.wiimmterfaceandroid.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 {
    @ColumnInfo(name="name")
    public String name;

    @PrimaryKey
    @ColumnInfo(name="friendCode")
    public String friendCode;

}