mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-30 11:38:32 -07:00
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
22 lines
No EOL
601 B
C#
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;
|
|
}
|
|
} |