2018-09-16 19:33:56 +08:00
|
|
|
|
using Bootstrap.Client.DataAccess;
|
|
|
|
|
|
|
|
|
|
namespace Bootstrap.Client.Models
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class ModelBase
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ModelBase()
|
|
|
|
|
{
|
|
|
|
|
Title = DictHelper.RetrieveTitle();
|
|
|
|
|
Footer = DictHelper.RetrieveFooter();
|
|
|
|
|
Theme = DictHelper.RetrieveActiveTheme();
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
2018-10-10 12:03:00 +08:00
|
|
|
|
public string Title { get; }
|
2018-09-16 19:33:56 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
2018-10-10 12:03:00 +08:00
|
|
|
|
public string Footer { get; }
|
2018-09-16 19:33:56 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Theme { get; protected set; }
|
|
|
|
|
}
|
|
|
|
|
}
|