2016-11-05 18:44:41 +08:00
|
|
|
|
using Bootstrap.DataAccess;
|
|
|
|
|
|
|
|
|
|
namespace Bootstrap.Admin.Models
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class ModelBase
|
|
|
|
|
{
|
2017-03-30 15:32:49 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
2016-11-05 18:44:41 +08:00
|
|
|
|
public ModelBase()
|
|
|
|
|
{
|
|
|
|
|
Title = DictHelper.RetrieveWebTitle();
|
|
|
|
|
Footer = DictHelper.RetrieveWebFooter();
|
2018-08-10 16:05:24 +08:00
|
|
|
|
Theme = DictHelper.RetrieveActiveTheme();
|
2016-11-05 18:44:41 +08:00
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
2017-03-30 15:32:49 +08:00
|
|
|
|
public string Title { get; private set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Footer { get; private set; }
|
2018-08-10 16:05:24 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
2018-09-07 16:11:18 +08:00
|
|
|
|
public string Theme { get; protected set; }
|
2016-11-05 18:44:41 +08:00
|
|
|
|
}
|
2016-10-20 17:55:29 +08:00
|
|
|
|
}
|