Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
HarryPotterApp: HPCharacter.cs
using SQLite;
namespace HarryPotterApp.Models
{
public class HPCharacter
{
[PrimaryKey]
public string _id { get; set; }
public string name { get; set; }
public string role { get; set; }
public string house { get; set; }
public string school { get; set; }
public int __v { get; set; }
public bool ministryOfMagic { get; set; }
public bool orderOfThePhoenix { get; set; }
public bool dumbledoresArmy { get; set; }
public bool deathEater { get; set; }
public string bloodStatus { get; set; }
public string species { get; set; }
public string boggart { get; set; }
public string alias { get; set; }
public string animagus { get; set; }
public string wand { get; set; }
public string patronus { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment