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; }
|
2023-02-26 09:40:04 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
public class ConnectionStrings
|
|
|
|
{
|
|
|
|
public string Database { get; set; } = "";
|
2023-02-14 17:51:22 -08:00
|
|
|
}
|