Skip to content

Instantly share code, notes, and snippets.

@icebeam7
Created December 5, 2019 00:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save icebeam7/7bc9fe4163cb120018ddb0997d41c3d4 to your computer and use it in GitHub Desktop.
Save icebeam7/7bc9fe4163cb120018ddb0997d41c3d4 to your computer and use it in GitHub Desktop.
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