mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-16 02:02:55 -07:00
18 lines
No EOL
533 B
C#
18 lines
No EOL
533 B
C#
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; }
|
|
|
|
[NotMapped]
|
|
public string UserAlias => string.IsNullOrEmpty(Alias) ? UserName : Alias;
|
|
}
|
|
} |