mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
28 lines
792 B
C#
28 lines
792 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; }
|
|
|
|
public List<DeviceGroup>? DeviceGroups { get; set; }
|
|
public bool IsAdministrator { get; set; }
|
|
public bool IsServerAdmin { get; set; }
|
|
|
|
[JsonIgnore]
|
|
public Organization? Organization { get; set; }
|
|
|
|
public string OrganizationID { get; set; } = null!;
|
|
|
|
public List<SavedScript>? SavedScripts { get; set; }
|
|
public List<ScriptSchedule>? ScriptSchedules { get; set; }
|
|
|
|
public string? TempPassword { get; set; }
|
|
|
|
public RemotelyUserOptions? UserOptions { get; set; }
|
|
}
|