namespace zero.Applications; /// /// An application is a website or app. zero can host multiple websites at once which share common assets /// [RavenCollection("Applications")] public class Application : ZeroEntity { /// /// Raven database name for application data /// public string Database { get; set; } /// /// Full company or product name /// public string FullName { get; set; } /// /// Generic contact email. Can be used in various locations /// public string Email { get; set; } /// /// Image of the application /// public string ImageId { get; set; } /// /// Simple image of the application (can be used as favicon) /// public string IconId { get; set; } /// /// All assigned domains for this application /// public Uri[] Domains { get; set; } = Array.Empty(); /// /// Features which are enabled for this application. /// Can be user-defined and affect both backoffice and frontend /// public List Features { get; set; } = new(); }