Revert "Added Validation for class and elite specialization"
This reverts commit 3743093212
.
This commit is contained in:
parent
3743093212
commit
ebbf458425
1 changed files with 4 additions and 9 deletions
|
@ -74,17 +74,12 @@ namespace Lieb.Models.GuildWars2
|
||||||
[StringLength(60, ErrorMessage = "BuildName too long (60 character limit).")]
|
[StringLength(60, ErrorMessage = "BuildName too long (60 character limit).")]
|
||||||
public string BuildName { get; set; } = String.Empty;
|
public string BuildName { get; set; } = String.Empty;
|
||||||
|
|
||||||
public bool Might { get; set; }
|
public short Might { get; set; }
|
||||||
public bool Quickness { get; set; }
|
public short Quickness { get; set; }
|
||||||
public bool Alacrity { get; set; }
|
public short Alacrity { get; set; }
|
||||||
public bool Heal { get; set; }
|
public short Heal { get; set; }
|
||||||
|
|
||||||
[Required]
|
|
||||||
[Range(1,9, ErrorMessage ="Please select a class")]
|
|
||||||
public GuildWars2Class Class { get; set; }
|
public GuildWars2Class Class { get; set; }
|
||||||
|
|
||||||
[Required]
|
|
||||||
[Range(1, 90, ErrorMessage = "Please select an elite specialization")]
|
|
||||||
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>();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue