Files
mixtape/unjo.Core/Entities/Sections/ISection.cs
T

31 lines
733 B
C#
Raw Normal View History

2020-03-22 14:18:34 +01:00
using System.Collections.Generic;
namespace unjo.Core.Entities.Sections
{
/// <summary>
/// A section is a main part of the backoffice application
/// </summary>
public interface ISection
{
/// <summary>
/// The section alias which acts as the url slug for navigation
/// </summary>
string Alias { get; }
/// <summary>
/// The name of the section (either a string or a translation key with @ prefix)
/// </summary>
string Name { get; }
/// <summary>
/// Icon of the section
/// </summary>
string Icon { get; }
/// <summary>
/// Children are displayed as a sub-navigation in the main nav area
/// </summary>
IList<IChildSection> Children { get; }
}
}