first commit
This commit is contained in:
23
backend/Models/AppConfig.cs
Normal file
23
backend/Models/AppConfig.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
namespace backend.Models;
|
||||
|
||||
public class AppConfig
|
||||
{
|
||||
public string SiteTitle { get; set; } = string.Empty;
|
||||
public string Subtitle { get; set; } = string.Empty;
|
||||
public List<ChannelInfo> Channels { get; set; } = new();
|
||||
public string ShortText { get; set; } = string.Empty;
|
||||
public QuizConfig Quiz { get; set; } = new();
|
||||
public string AdminPassword { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
public class ChannelInfo
|
||||
{
|
||||
public string Name { get; set; } = string.Empty;
|
||||
public string Url { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
public class QuizConfig
|
||||
{
|
||||
public int ParticipationPoints { get; set; }
|
||||
public int CorrectAnswerPoints { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user