using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Server.Data.Entities; /// /// Spells a character has learned /// [Table("dungeon_learned_spells")] public class DungeonLearnedSpell { [Key] public ulong Id { get; set; } public ulong CharacterId { get; set; } public int SpellDefinitionId { get; set; } public DateTime LearnedAt { get; set; } = DateTime.UtcNow; // Could add spell levels/upgrades later public int SpellLevel { get; set; } = 1; // Navigation public virtual DungeonCharacter? Character { get; set; } public virtual DungeonSpellDefinition? Definition { get; set; } }