using System; namespace Oqtane.Models { /// /// Describes a Tenant in Oqtane. /// Tenants can contain multiple s and have all their data in a separate Database. /// public class Tenant : IAuditable { /// /// ID of the Tenant. /// public int TenantId { get; set; } /// /// Name of the Tenant to show in Tenant lists. /// public string Name { get; set; } /// /// Connection string to access this Tenant DB. /// public string DBConnectionString { get; set; } /// /// Type of DB used in this Tenant /// /// /// New in v2.1.0 /// public string DBType { get; set; } public string Version { get; set; } #region IAuditable Properties /// public string CreatedBy { get; set; } /// public DateTime CreatedOn { get; set; } /// public string ModifiedBy { get; set; } /// public DateTime ModifiedOn { get; set; } #endregion } }