Lots of data and model setup
This commit is contained in:
@@ -9,4 +9,14 @@ public class ClassEntry : BaseEntity<int>
|
||||
/// The name of the class.
|
||||
/// </summary>
|
||||
public string Name { get; set; } = string.Empty;
|
||||
|
||||
#region Navigation Properties
|
||||
|
||||
public List<LeaderSkinEntry> LeaderSkins { get; set; } = new List<LeaderSkinEntry>();
|
||||
|
||||
[NotMapped]
|
||||
public LeaderSkinEntry? DefaultLeaderSkin => LeaderSkins.FirstOrDefault(skin => skin.Id == Id);
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user