Skip to content

Instantly share code, notes, and snippets.

@cyross
Created April 12, 2022 13:01
Show Gist options
  • Select an option

  • Save cyross/ad607e0e0273762dcfe7495704529bf4 to your computer and use it in GitHub Desktop.

Select an option

Save cyross/ad607e0e0273762dcfe7495704529bf4 to your computer and use it in GitHub Desktop.
using SQLite;
namespace Assets.Scripts.Model.Character
{
public class CharacterBase
{
[PrimaryKey, AutoIncrement]
[Column("id")]
public int Id { get; set; }
[Column("name")]
public string Name { get; set; }
[Column("hit_point")]
public int HitPoint { get; set; }
[Column("magic_power")]
public int MagicPower { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment