mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 21:03:17 -07:00
Still a lot of work to do on the frontend for this.
This commit is contained in:
parent
8cf5a4c1fd
commit
b04344dd17
25 changed files with 952 additions and 476 deletions
14
src/Ombi.Store/Entities/OmbiUser.cs
Normal file
14
src/Ombi.Store/Entities/OmbiUser.cs
Normal file
|
@ -0,0 +1,14 @@
|
|||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
|
||||
|
||||
namespace Ombi.Store.Entities
|
||||
{
|
||||
public class OmbiUser : IdentityUser
|
||||
{
|
||||
public string Alias { get; set; }
|
||||
public UserType UserType { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
public string UserAlias => string.IsNullOrEmpty(Alias) ? UserName : Alias;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue