using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Pf2eModel.Model.Base; using Pf2eModel.Model.Common; using Pf2eModel.Model.Enum; using Pf2eModel.Model.Structure.DeityRelation; namespace Pf2eModel.Model.Structure; [EntityOfType(EntityType.Deity)] public class Deity : IEntity { [Key] [DatabaseGenerated(DatabaseGeneratedOption.None)] [Column(Order = 1)] public int Id { get; set; } public Entity Entity { get; set; } = null!; [Column(Order = 2)] public DeityCategory Category { get; set; } [Column(Order = 3)] public DeityFonts Fonts { get; set; } [Column(Order = 4)] public DeitySanctification Sanctification { get; set; } [Column(Order = 5)] public bool SanctificationMust { get; set; } public ICollection DeityAttributes { get; set; } = new List(); public ICollection DeityDomains { get; set; } = new List(); public ICollection DeitySpells { get; set; } = new List(); public ICollection DeityWeapons { get; set; } = new List(); public ICollection Skills { get; set; } = new List(); }