24 lines
662 B
C#
24 lines
662 B
C#
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; }
|
|
}
|