Remotely/Shared/Models/RemotelyUser.cs
2021-07-29 07:55:58 -07:00

22 lines
629 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 RemotelyUserOptions UserOptions { get; set; } = new RemotelyUserOptions();
[JsonIgnore]
public virtual Organization Organization { get; set; } = new Organization();
public string OrganizationID { get; set; }
public bool IsAdministrator { get; set; } = true;
}
}