WIP, thinking about converting to EF

This commit is contained in:
Lani Aung
2021-11-18 21:24:20 -07:00
parent fd8858aab3
commit 1fd14ebafd
20 changed files with 1513 additions and 179 deletions
+4 -1
View File
@@ -1,4 +1,5 @@
using System.ComponentModel.DataAnnotations.Schema;
using System.Runtime.Serialization;
namespace fxl.codes.kisekae.Entities
{
@@ -8,12 +9,14 @@ namespace fxl.codes.kisekae.Entities
public int Id { get; set; }
[Column("cel_id")] public int CelId { get; set; }
[Column("config_id")] public int ConfigId { get; set; }
public int Group { get; set; }
public int Mark { get; set; }
public int Fix { get; set; }
public Set Sets { get; set; } = Set.Unset;
public int Transparency { get; set; }
public string Comment { get; set; }
[Column("palette_id")] public int PaletteId { get; set; }
[IgnoreDataMember] public int PaletteIndex { get; set; }
[Column("palette_group")] public int PaletteGroup { get; set; }
public int X { get; set; }
public int Y { get; set; }
}