using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Remotely.Shared.Models { public class Organization { public ICollection Alerts { get; set; } public ICollection ApiTokens { get; set; } public ICollection CommandResults { get; set; } public ICollection DeviceGroups { get; set; } public ICollection Devices { get; set; } public ICollection EventLogs { get; set; } [Key] public string ID { get; set; } = Guid.NewGuid().ToString(); public ICollection InviteLinks { get; set; } [StringLength(25)] public string OrganizationName { get; set; } public ICollection RemotelyUsers { get; set; } public ICollection SharedFiles { get; set; } } }