Reworked random raids to be randomizable multiple times

This commit is contained in:
t.ruspekhofer 2022-03-13 17:21:17 +01:00
parent dd79b0e333
commit 6e4dce5b1f
9 changed files with 249 additions and 83 deletions

View file

@ -14,5 +14,7 @@ namespace Lieb.Models.GuildWars2.Raid
[Required]
[StringLength(200, ErrorMessage = "Description too long (200 character limit).")]
public string Description { get; set; } = String.Empty;
public bool IsRandomSignUpRole { get; set; } = false;
}
}

View file

@ -22,8 +22,6 @@ namespace Lieb.Models.GuildWars2.Raid
public DateTimeOffset FreeForAllTimeUTC { get; set; }
public bool IsRandomized { get; set; } = false;
public ICollection<RaidSignUp> SignUps { get; set; } = new HashSet<RaidSignUp>();
public ICollection<SignUpHistory> SignUpHistory { get; set; } = new HashSet<SignUpHistory>();