mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-13 22:06:29 +01:00
34 lines
822 B
C#
34 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; }
|
|
}
|
|
}
|