Ombi/src/Ombi.Store/Entities/OmbiUser.cs
tidusjar 057683d97a Fixed the issue of it showing as not requested when we find it in Radarr.
Made the tv shows match a bit more to the movie requests
Added the ability for plex and emby users to login
Improved the welcome email, will only show for users that have not logged in
Fixed discord notifications
the about screen now checks if there is an update ready
#1513
2017-09-28 19:53:30 +01:00

22 lines
No EOL
601 B
C#

using System;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.AspNetCore.Identity;
namespace Ombi.Store.Entities
{
public class OmbiUser : IdentityUser
{
public string Alias { get; set; }
public UserType UserType { get; set; }
/// <summary>
/// This will be the unique Plex/Emby user id reference
/// </summary>
public string ProviderUserId { get; set; }
public DateTime? LastLoggedIn { get; set; }
[NotMapped]
public string UserAlias => string.IsNullOrEmpty(Alias) ? UserName : Alias;
}
}