mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
27 lines
786 B
C#
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;
|
|
}
|
|
}
|