Работа над импортом заклинаний

This commit is contained in:
2025-05-05 19:23:43 +04:00
parent 2c1756cef6
commit fc5d68ca1f
26 changed files with 696 additions and 87 deletions
@@ -9,16 +9,19 @@ public class SpellArea
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.None)]
[Column(Order = 1)]
public int SpellId { get; set; }
public int Id { get; set; }
[Column(Order = 2)]
public int SpellId { get; set; }
[Column(Order = 3)]
[MaxLength(255)]
public string? Details { get; set; }
[Column(Order = 3)]
[Column(Order = 4)]
public SpellAreaType Type { get; set; }
[Column(Order = 4)]
[Column(Order = 5)]
public int Value { get; set; }
public virtual Spell Spell { get; set; } = null!;