Files
Pf2eDataScrapper/Pf2eModel/Model/Structure/SpellRelation/SpellArea.cs
T

26 lines
612 B
C#

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Pf2eModel.Model.Enum;
namespace Pf2eModel.Model.Structure.SpellRelation;
public partial class SpellArea
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.None)]
[Column(Order = 1)]
public int SpellId { get; set; }
[Column(Order = 2)]
[MaxLength(255)]
public string? Details { get; set; }
[Column(Order = 3)]
public SpellAreaType Type { get; set; }
[Column(Order = 4)]
public int Value { get; set; }
public virtual Spell Spell { get; set; } = null!;
}