1
0
mirror of https://git.teknik.io/Teknikode/Teknik.git synced 2023-08-02 14:16:22 +02:00
Teknik/Configuration/BlogConfig.cs

27 lines
674 B
C#
Raw Normal View History

namespace Teknik.Configuration
{
public class BlogConfig
{
public bool Enabled { get; set; }
public string Title { get; set; }
public string Description { get; set; }
public int PostsToLoad { get; set; }
public int CommentsToLoad { get; set; }
2016-01-30 01:16:04 +01:00
public int ServerBlogId { get; set; }
public BlogConfig()
{
SetDefaults();
}
public void SetDefaults()
{
Enabled = true;
Title = string.Empty;
Description = string.Empty;
PostsToLoad = 10;
CommentsToLoad = 10;
2016-01-30 01:16:04 +01:00
ServerBlogId = 1;
}
}
}