Created
April 12, 2022 13:01
-
-
Save cyross/ad607e0e0273762dcfe7495704529bf4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 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