package com.eyecreate.miceandmystics.miceandmystics.model; import io.realm.RealmObject; import io.realm.annotations.PrimaryKey; public class Player extends RealmObject { @PrimaryKey private String playerName; public Player() {} public Player(String playerName) {setPlayerName(playerName);} public String getPlayerName() { return playerName; } public void setPlayerName(String playerName) { this.playerName = playerName; } }