using Elsa.Common.Entities; using JetBrains.Annotations; using Microsoft.Extensions.Configuration; namespace Elsa.Common.Multitenancy; /// /// Represents a tenant. /// [UsedImplicitly] public class Tenant : Entity { /// /// Gets or sets the name. /// public string Name { get; set; } = null!; /// /// Gets or sets the configuration. /// public IConfiguration Configuration { get; set; } = new ConfigurationBuilder().Build(); public static readonly Tenant Default = new() { Id = null!, Name = "Default" }; }