Added account management sites
This commit is contained in:
parent
c8252daf88
commit
7113e3abee
10 changed files with 332 additions and 64 deletions
|
@ -1,9 +1,13 @@
|
|||
namespace Lieb.Models.GuildWars2
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Lieb.Models.GuildWars2
|
||||
{
|
||||
public class GuildWars2Account
|
||||
{
|
||||
public int GuildWars2AccountId { get; set; }
|
||||
public string ApiKey { get; set; } = string.Empty;
|
||||
[Required]
|
||||
[RegularExpression("^[a-zA-z ]{3,27}\\.[0-9]{4}$", ErrorMessage = "Invalid Account Name")]
|
||||
public string AccountName { get; set; } = string.Empty;
|
||||
public ICollection<Equipped> EquippedBuilds { get; set; } = new List<Equipped>();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue