Remotely/Remotely_Library/Models/RemotelyUser.cs
2021-07-29 07:53:41 -07:00

27 lines
786 B
C#

using Microsoft.AspNetCore.Identity;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace Remotely_Library.Models
{
public class RemotelyUser : IdentityUser
{
public RemotelyUser()
{
UserOptions = new RemotelyUserOptions();
Organization = new Organization();
}
public virtual RemotelyUserOptions UserOptions { get; set; }
public virtual Organization Organization { get; set; }
public string OrganizationID { get; set; }
public virtual List<PermissionGroup> PermissionGroups { get; set; } = new List<PermissionGroup>();
public bool IsAdministrator { get; set; } = true;
}
}