Remotely/Shared/Models/Organization.cs
Jared Goodwin 3f8d63c2c0
Azure Pipelines, Docker, and embedded server data. (#543)
* Add Azure Pipelines yml.

* Remove Server Installer.

* Update Release Build.yml for Azure Pipelines

* Update Release Build.yml

* Update Release Build.yml for Azure Pipelines

* Update Release Build.yml for Azure Pipelines

* Update Release Build.yml for Azure Pipelines

* Update Release Build.yml for Azure Pipelines

* Update signtool.exe

* Update Release Build.yml

* Update Publish.ps1

* Update pipeline and Dockerfile.

* Move docker files.

* Update Dockerfile

* Update Dockerfile

* Update Dockerfile

* Update Dockerfile

* Move files.

* Update Dockerfile

* Update Dockerfile

* Create RewritableStream.

* Finish implementation of rewritable stream and embedded data searcher.

* Remove RelayCode.

* Get branding from default org if orgId is missing.

* Update README.md

* Remove AppConstants.ServerUrl.  Fix main module file path.

* Update submodule.

* Extract embedded data in Program.cs.

* Add logging.  Update submodule.

* Remove size block.  BinaryWriter prefixes size.

* Remove unused async

* Update Immense.RemoteControl

* Update Release Build.yml for Azure Pipelines

* Update Release Build.yml for Azure Pipelines

* Use UpgradeService for determining out of date clients.
2022-12-31 19:10:40 -08:00

45 lines
1.4 KiB
C#

using Immense.RemoteControl.Shared.Models;
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<Alert> Alerts { get; set; }
public ICollection<ApiToken> ApiTokens { get; set; }
public BrandingInfo BrandingInfo { get; set; }
public ICollection<ScriptResult> ScriptResults { get; set; }
public ICollection<ScriptRun> ScriptRuns { get; set; }
public ICollection<SavedScript> SavedScripts { get; set; }
public ICollection<ScriptSchedule> ScriptSchedules { get; set; }
public ICollection<DeviceGroup> DeviceGroups { get; set; }
public ICollection<Device> Devices { get; set; }
public ICollection<EventLog> EventLogs { get; set; }
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public string ID { get; set; }
public ICollection<InviteLink> InviteLinks { get; set; }
public bool IsDefaultOrganization { get; set; }
[StringLength(25)]
public string OrganizationName { get; set; }
public ICollection<RemotelyUser> RemotelyUsers { get; set; }
public ICollection<SharedFile> SharedFiles { get; set; }
}
}