sharee.bike-App/TINKLib/Model/MiniSurvey/MiniSurveyModel.cs
Anja Müller-Meißner 0468955d49 Version 3.0.338
2022-09-08 09:55:14 +02:00

35 lines
822 B
C#

using System.Collections.Generic;
namespace TINK.Model.MiniSurvey
{
/// <summary>
/// Holds mini survey.
/// </summary>
public class MiniSurveyModel : IMiniSurveyModel
{
public MiniSurveyModel(Dictionary<string, IQuestionModel> questions = null)
{
Questions = questions ?? new Dictionary<string, IQuestionModel>();
}
public enum Type
{
SingleAnswer,
CustomText
}
/// <summary> Holds the title of the mini survey. </summary>
public string Title { get; set; }
/// <summary> Holds the sub title of the mini survey. </summary>
public string Subtitle { get; set; }
/// <summary> Holds the footer of the mini survey. </summary>
public string Footer { get; set; }
/// <summary> Holds the questions. </summary>
public IDictionary<string, IQuestionModel> Questions { get; }
}
}