mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
27 lines
728 B
C#
27 lines
728 B
C#
using Microsoft.AspNetCore.Identity;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Linq;
|
|
using System.Text.Json.Serialization;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Remotely.Shared.Models
|
|
{
|
|
public class RemotelyUser : IdentityUser
|
|
{
|
|
public RemotelyUser()
|
|
{
|
|
UserOptions = new RemotelyUserOptions();
|
|
Organization = new Organization();
|
|
}
|
|
public RemotelyUserOptions UserOptions { get; set; }
|
|
|
|
[JsonIgnore]
|
|
public virtual Organization Organization { get; set; }
|
|
public string OrganizationID { get; set; }
|
|
|
|
public bool IsAdministrator { get; set; } = true;
|
|
}
|
|
}
|