using System.ComponentModel.DataAnnotations.Schema; using DCGEngine.Database.Models; namespace SVSim.Database.Models; public class ClassEntry : BaseEntity { /// /// The name of the class. /// public string Name { get; set; } = string.Empty; #region Navigation Properties public List LeaderSkins { get; set; } = new List(); [NotMapped] public LeaderSkinEntry? DefaultLeaderSkin => LeaderSkins.FirstOrDefault(skin => skin.Id == Id); #endregion }