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

28 lines
658 B
C#

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Pf2eModel.Model.Structure.SpellRelation;
public partial class SpellDefense
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
[Column(Order = 1)]
public int Id { get; set; }
[Column(Order = 2)]
public int SpellId { get; set; }
[Column(Order = 3)]
public bool IsPassive { get; set; }
[Column(Order = 4)]
public bool? IsBasic { get; set; }
[Column(Order = 5)]
[MaxLength(255)]
public string Statistic { get; set; } = null!;
public virtual Spell Spell { get; set; } = null!;
}