mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-12-23 07:36:31 +01:00
41 lines
896 B
C#
41 lines
896 B
C#
|
using System.Collections.Generic;
|
|||
|
|
|||
|
namespace TINK.Model.MiniSurvey
|
|||
|
|
|||
|
{
|
|||
|
public class MiniSurveyModel
|
|||
|
{
|
|||
|
public enum Type
|
|||
|
{
|
|||
|
SingleAnswer,
|
|||
|
CustomText
|
|||
|
}
|
|||
|
public class QuestionModel
|
|||
|
{
|
|||
|
public QuestionModel()
|
|||
|
{
|
|||
|
PossibleAnswers = new Dictionary<string, string>();
|
|||
|
}
|
|||
|
|
|||
|
public string Text { get; set; }
|
|||
|
|
|||
|
public Type Type { get; set; }
|
|||
|
|
|||
|
public Dictionary<string, string> PossibleAnswers { get; private set; }
|
|||
|
}
|
|||
|
|
|||
|
public MiniSurveyModel()
|
|||
|
{
|
|||
|
Questions = new Dictionary<string, QuestionModel>();
|
|||
|
}
|
|||
|
|
|||
|
public string Title { get; set; }
|
|||
|
|
|||
|
public string Subtitle { get; set; }
|
|||
|
|
|||
|
public string Footer { get; set; }
|
|||
|
|
|||
|
public Dictionary<string, QuestionModel> Questions { get; }
|
|||
|
}
|
|||
|
}
|