mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-12 13:36:26 +01:00
39 lines
998 B
C#
39 lines
998 B
C#
using System.Collections.Generic;
|
|
|
|
namespace TINK.Model.MiniSurvey
|
|
|
|
{
|
|
/// <summary>
|
|
/// Holds mini survey.
|
|
/// </summary>
|
|
public class MiniSurveyModel
|
|
{
|
|
public enum Type
|
|
{
|
|
SingleAnswer,
|
|
CustomText
|
|
}
|
|
public class QuestionModel
|
|
{
|
|
/// <summary>
|
|
/// Holds the query description.
|
|
/// </summary>
|
|
public string Text { get; set; }
|
|
|
|
public Type Type { get; set; }
|
|
|
|
/// <summary>
|
|
/// Holds the collection of possible answers.
|
|
/// </summary>
|
|
public Dictionary<string, string> PossibleAnswers { get; private set; } = new Dictionary<string, string>();
|
|
}
|
|
|
|
public string Title { get; set; }
|
|
|
|
public string Subtitle { get; set; }
|
|
|
|
public string Footer { get; set; }
|
|
|
|
public Dictionary<string, QuestionModel> Questions { get; } = new Dictionary<string, QuestionModel>();
|
|
}
|
|
}
|