Больше работы над парсингом заклинаний
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Pf2eModel.Model.Common.I18n;
|
||||
using Pf2eModel.Model.Enum;
|
||||
|
||||
namespace Pf2eModel.Model.Structure.SpellRelation;
|
||||
@@ -7,7 +8,7 @@ namespace Pf2eModel.Model.Structure.SpellRelation;
|
||||
public class SpellArea
|
||||
{
|
||||
[Key]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
[Column(Order = 1)]
|
||||
public int Id { get; set; }
|
||||
|
||||
@@ -16,13 +17,10 @@ public class SpellArea
|
||||
|
||||
[Column(Order = 3)]
|
||||
[MaxLength(255)]
|
||||
public string? Details { get; set; }
|
||||
public LocaleString? Details { get; set; }
|
||||
|
||||
[Column(Order = 4)]
|
||||
public SpellAreaType Type { get; set; }
|
||||
|
||||
[Column(Order = 5)]
|
||||
public int Value { get; set; }
|
||||
|
||||
public virtual Spell Spell { get; set; } = null!;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user