using Bootstrap.DataAccess;
namespace Bootstrap.Admin.Models
{
///
///
///
public class ModelBase
{
///
///
///
public ModelBase()
{
Title = DictHelper.RetrieveWebTitle();
Footer = DictHelper.RetrieveWebFooter();
Theme = DictHelper.RetrieveActiveTheme();
IsDemo = DictHelper.RetrieveSystemModel();
}
///
///
///
public string Title { get; private set; }
///
///
///
public string Footer { get; private set; }
///
/// 网站样式全局设置
///
public string Theme { get; protected set; }
///
/// 是否为演示系统
///
public bool IsDemo { get; protected set; }
}
}