40 lines
828 B
C#
40 lines
828 B
C#
namespace zero.Core.Entities
|
|
{
|
|
/// <summary>
|
|
/// Defines an area in the settings section
|
|
/// </summary>
|
|
public class SettingsArea
|
|
{
|
|
/// <summary>
|
|
/// Alias which used for the URL part
|
|
/// </summary>
|
|
public string Alias { get; }
|
|
|
|
/// <summary>
|
|
/// Name of the settings area
|
|
/// </summary>
|
|
public string Name { get; }
|
|
|
|
/// <summary>
|
|
/// Icon displayed next to the area name
|
|
/// </summary>
|
|
public string Icon { get; }
|
|
|
|
/// <summary>
|
|
/// Further describe the area
|
|
/// </summary>
|
|
public string Description { get; }
|
|
|
|
|
|
public SettingsArea() { }
|
|
|
|
public SettingsArea(string alias, string name, string description = null, string icon = null)
|
|
{
|
|
Alias = alias;
|
|
Name = name;
|
|
Icon = icon;
|
|
Description = description;
|
|
}
|
|
}
|
|
}
|