changes LiebContext, renamed User to LiebUser

This commit is contained in:
t.ruspekhofer 2022-02-16 22:30:03 +01:00
parent bde2735096
commit 7b44e41eb2
12 changed files with 31 additions and 20 deletions

View file

@ -1,8 +1,10 @@
namespace Lieb.Models
using Microsoft.AspNetCore.Identity;
namespace Lieb.Models
{
public class User
public class LiebUser : IdentityUser
{
public int UserId { get; set; }
public int LiebUserId { get; set; }
public ulong DiscordUserId { get; set; }
public string Name { get; set; } = string.Empty;
public string Pronouns { get; set; } = string.Empty;

View file

@ -21,7 +21,7 @@
public SignUpType SignUpType { get; set; }
public Raid Raid { get; set; }
public User User { get; set; } = new User();
public LiebUser User { get; set; } = new LiebUser();
public GuildWars2Account GuildWars2Account { get; set; } = new GuildWars2Account();
public PlannedRaidRole PlannedRaidRole { get; set; } = new PlannedRaidRole();
}

View file

@ -6,7 +6,7 @@
public short Quickness { get; set; }
public short Alacrity { get; set; }
public short Heal { get; set; }
public User Tank { get; set; } = new User();
public LiebUser Tank { get; set; } = new LiebUser();
public bool RandomClass { get; set; }
public bool RandomEliteSpecialization { get; set; }