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 Alerts { get; set; } = new List(); public List DeviceGroups { get; set; } = new(); public bool IsAdministrator { get; set; } public bool IsServerAdmin { get; set; } [JsonIgnore] public Organization? Organization { get; set; } public string OrganizationID { get; set; } = null!; public List SavedScripts { get; set; } = new(); public List ScriptSchedules { get; set; } = new(); public string? TempPassword { get; set; } public RemotelyUserOptions? UserOptions { get; set; } }