Remotely/Remotely_Library/Models/RemotelyUser.cs
Jared Goodwin 61fa16de4c Initial
2019-02-23 11:02:23 -08:00

27 lines
762 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 RemotelyUserOptions UserOptions { get; set; }
public Organization Organization { get; set; }
public string OrganizationID { get; set; }
public List<PermissionGroup> PermissionGroups { get; set; } = new List<PermissionGroup>();
public bool IsAdministrator { get; set; } = true;
}
}