namespace zero.Backoffice.UIComposition;
///
/// A section is a main part of the backoffice application
///
public class BackofficeSection : IBackofficeSection, IChildBackofficeSection
{
///
public string Alias { get; set; }
///
public string Name { get; set; }
///
public string Icon { get; set; }
///
public int Sort { get; set; }
///
/// HEX color (#aabbcc or #abc). Defaults to a neutral color
///
public string Color { get; set; }
///
public IList Children { get; } = new List();
public BackofficeSection() { }
public BackofficeSection(string alias, string name, string icon = null, string color = null, int sort = 0)
{
Alias = alias;
Name = name;
Icon = icon;
Color = color;
Sort = sort;
}
}