Remotely/Shared/Models/RemotelyUser.cs
2021-07-29 07:56:50 -07:00

29 lines
784 B
C#

using Microsoft.AspNetCore.Identity;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization;
namespace Remotely.Shared.Models
{
public class RemotelyUser : IdentityUser
{
public ICollection<Alert> Alerts { get; set; }
[StringLength(100)]
public string DisplayName { get; set; }
public bool IsAdministrator { get; set; }
public bool IsServerAdmin { get; set; }
[JsonIgnore]
public Organization Organization { get; set; }
public string OrganizationID { get; set; }
public List<DeviceGroup> DeviceGroups { get; set; }
public string TempPassword { get; set; }
public RemotelyUserOptions UserOptions { get; set; }
}
}