using System.Collections.Generic;
namespace zero.Core.Entities
{
///
/// An application is a website. zero can host multiple websites at once which share common assets
///
public class Application : ZeroEntity, IZeroDbConventions
{
///
/// 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 Media Image { get; set; }
///
/// Simple image of the application (used as favicon)
///
public Media Icon { get; set; }
///
/// All assigned domains for this application
///
public string[] Domains { get; set; } = new string[] { };
///
/// Features which are enabled for this application.
/// Can be user-defined and affect both backoffice and frontend
///
public List Features { get; set; } = new List();
}
}