Revert "changes LiebContext, renamed User to LiebUser"

This reverts commit 7b44e41eb2.
This commit is contained in:
t.ruspekhofer 2022-02-20 15:48:20 +01:00
parent 31a0e20f1d
commit e0fd579c00
12 changed files with 20 additions and 31 deletions

View file

@ -21,7 +21,7 @@
public SignUpType SignUpType { get; set; }
public Raid Raid { get; set; }
public LiebUser User { get; set; } = new LiebUser();
public User User { get; set; } = new User();
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 LiebUser Tank { get; set; } = new LiebUser();
public User Tank { get; set; } = new User();
public bool RandomClass { get; set; }
public bool RandomEliteSpecialization { get; set; }

View file

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