merged LiebUserId with DiscordId

This commit is contained in:
t.ruspekhofer 2022-05-17 23:14:58 +02:00
parent 49374412b3
commit d54ce50336
19 changed files with 109 additions and 142 deletions

View file

@ -1,12 +1,13 @@
using Lieb.Models.GuildWars2;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Lieb.Models
{
public class LiebUser
{
public int LiebUserId { get; set; }
public ulong DiscordUserId { get; set; }
[DatabaseGenerated(DatabaseGeneratedOption.None)]
public ulong Id { get; set; }
[Required]
[StringLength(40, ErrorMessage = "Name too long (40 character limit).")]