Newsbot.Collector/Newsbot.Collector.Domain/Models/Config.cs

21 lines
497 B
C#
Raw Normal View History

2023-02-14 17:51:22 -08:00
namespace Newsbot.Collector.Domain.Models;
public class ConfigModel
{
public string? ServerAddress { get; set; }
public string? SqlConnectionString { get; set; }
public RedditConfigModel? Reddit { get; set; }
}
public class RedditConfigModel
{
public bool IsEnabled { get; set; }
public bool PullHot { get; set; }
public bool PullNsfw { get; set; }
public bool PullTop { get; set; }
}
public class ConnectionStrings
{
public string Database { get; set; } = "";
2023-02-14 17:51:22 -08:00
}