using Remotely.Shared.Enums; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Remotely.Shared.Models { public class Organization { public ICollection Alerts { get; set; } public ICollection ApiTokens { get; set; } public BrandingInfo BrandingInfo { get; set; } public ICollection ScriptResults { get; set; } public ICollection ScriptRuns { get; set; } public ICollection SavedScripts { get; set; } public ICollection ScriptSchedules { get; set; } public ICollection DeviceGroups { get; set; } public ICollection Devices { get; set; } public ICollection EventLogs { get; set; } [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public string ID { get; set; } public ICollection InviteLinks { get; set; } public bool IsDefaultOrganization { get; set; } [StringLength(25)] public string OrganizationName { get; set; } public string RelayCode { get; set; } public ICollection RemotelyUsers { get; set; } public ICollection SharedFiles { get; set; } } }