changed Boons in Model

This commit is contained in:
t.ruspekhofer 2022-02-15 21:04:48 +01:00
parent 245c6da6c6
commit e068536abe
3 changed files with 17 additions and 2 deletions

View file

@ -3,6 +3,9 @@
public class Equipped public class Equipped
{ {
public int EquippedId { get; set; } public int EquippedId { get; set; }
public bool CanTank { get; set; }
public int GuildWars2AccountId { get; set; } public int GuildWars2AccountId { get; set; }
public int RaidRoleId { get; set; } public int RaidRoleId { get; set; }
public GuildWars2Account GuildWars2Account { get; set; } = new GuildWars2Account(); public GuildWars2Account GuildWars2Account { get; set; } = new GuildWars2Account();

View file

@ -2,6 +2,13 @@
{ {
public class RandomRaid : Raid public class RandomRaid : Raid
{ {
public ICollection<Role> WantedRoles { get; set; } = new HashSet<Role>(); public short Might { get; set; }
public short Quickness { get; set; }
public short Alacrity { get; set; }
public short Heal { get; set; }
public User Tank { get; set; } = new User();
public bool RandomClass { get; set; }
public bool RandomEliteSpecialization { get; set; }
} }
} }

View file

@ -68,7 +68,12 @@
{ {
public int RaidRoleId { get; set; } public int RaidRoleId { get; set; }
public string RoleName { get; set; } = String.Empty; public string RoleName { get; set; } = String.Empty;
public ICollection<Role> Boons { get; set; } = new List<Role>();
public short Might { get; set; }
public short Quickness { get; set; }
public short Alacrity { get; set; }
public short Heal { get; set; }
public GuildWars2Class Class { get; set; } public GuildWars2Class Class { get; set; }
public EliteSpecialization EliteSpecialization { get; set; } public EliteSpecialization EliteSpecialization { get; set; }
public ICollection<Equipped> EquippedRoles { get; set; } = new List<Equipped>(); public ICollection<Equipped> EquippedRoles { get; set; } = new List<Equipped>();