sharee.bike-App/SharedBusinessLogic/Model/MiniSurvey/MiniSurveyModel.cs
2024-04-09 12:53:23 +02:00

35 lines
828 B
C#

using System.Collections.Generic;
namespace ShareeBike.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; }
}
}