Moved Models to Shared Project

This commit is contained in:
t.ruspekhofer 2022-04-02 19:23:53 +02:00
parent bae69648d0
commit 7533d5a704
19 changed files with 27 additions and 1 deletions

View file

@ -1,18 +0,0 @@
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>();
}
}