Added moonlight resources. Optimised moonlight legacy html rendering

This commit is contained in:
Marcel Baumgartner
2023-02-15 21:25:51 +01:00
parent 8c67273d40
commit 764ff894af
117 changed files with 82725 additions and 1207 deletions

View File

@@ -0,0 +1,26 @@
using Moonlight.App.Models.Misc;
namespace Moonlight.App.Database.Entities;
public class User
{
public int Id { get; set; }
public string FirstName { get; set; } = "";
public string LastName { get; set; } = "";
public string Email { get; set; } = "";
public string Password { get; set; } = "";
public string Address { get; set; } = "";
public string City { get; set; } = "";
public string State { get; set; } = "";
public string Country { get; set; } = "";
public UserStatus Status { get; set; } = UserStatus.Unverified;
public bool TotpEnabled { get; set; }
public string TotpSecret { get; set; } = "";
public DateTime TokenValidTime { get; set; } = DateTime.Now;
public long DiscordId { get; set; }
public string DiscordUsername { get; set; } = "";
public string DiscordDiscriminator { get; set; } = "";
public DateTime CreatedAt { get; set; }
public DateTime UpdatedAt { get; set; }
public bool Admin { get; set; }
}