using System.Collections.Generic;
namespace zero.Core.Entities
{
///
/// A section is a main part of the backoffice application
///
public class Section : ISection, IChildSection
{
///
public string Alias { get; }
///
public string Name { get; }
///
public string Icon { get; }
///
/// HEX color (#aabbcc or #abc). Defaults to a neutral color
///
public string Color { get; }
///
public IList Children { get; } = new List();
public Section() { }
public Section(string alias, string name, string icon = null, string color = null)
{
Alias = alias;
Name = name;
Icon = icon;
Color = color;
}
}
}