Created
August 4, 2017 01:21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Realms; | |
using System; | |
namespace Xamarin.Forms_Realm.Models { | |
public class Player : RealmObject{ | |
[PrimaryKey] | |
public string PlayerId { get; set; } = Guid.NewGuid().ToString(); | |
public string Name { get; set; } | |
public int JerseyNumber { get; set; } | |
public string Position { get; set; } | |
public Team Team { get; set; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment