2016-10-20 17:55:29 +08:00
|
|
|
|
using Bootstrap.DataAccess;
|
|
|
|
|
|
|
|
|
|
namespace Bootstrap.Admin.Models
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class ModelBase
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
2016-10-23 23:35:17 +08:00
|
|
|
|
public ModelBase()
|
|
|
|
|
{
|
|
|
|
|
Title = DictHelper.RetrieveWebTitle();
|
|
|
|
|
Footer = DictHelper.RetrieveWebFooter();
|
2018-08-13 14:49:54 +08:00
|
|
|
|
Theme = DictHelper.RetrieveActiveTheme();
|
2019-03-27 14:09:42 +08:00
|
|
|
|
IsDemo = DictHelper.RetrieveSystemModel();
|
2016-10-23 23:35:17 +08:00
|
|
|
|
}
|
2019-03-27 14:09:42 +08:00
|
|
|
|
|
2016-10-20 17:55:29 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
2016-10-23 23:35:17 +08:00
|
|
|
|
public string Title { get; private set; }
|
2019-03-27 14:09:42 +08:00
|
|
|
|
|
2016-10-23 23:35:17 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Footer { get; private set; }
|
2019-03-27 14:09:42 +08:00
|
|
|
|
|
2018-08-13 14:49:54 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
2019-01-14 17:31:57 +08:00
|
|
|
|
public string Theme { get; protected set; }
|
2019-03-27 14:09:42 +08:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否为演示系统
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool IsDemo { get; protected set; }
|
2016-10-20 17:55:29 +08:00
|
|
|
|
}
|
|
|
|
|
}
|