39 lines
1.2 KiB
C#
39 lines
1.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Security.AccessControl;
|
|
using System.Text;
|
|
|
|
namespace Manager.Interfaces.DTO
|
|
{
|
|
public class QuizzDTO
|
|
{
|
|
public List<QuestionDTO> questions { get; set; }
|
|
public LevelDTO bad_level { get; set; }
|
|
public LevelDTO medium_level { get; set; }
|
|
public LevelDTO good_level { get; set; }
|
|
public LevelDTO great_level { get; set; }
|
|
}
|
|
|
|
public class QuestionDTO
|
|
{
|
|
public List<TranslationAndResourceDTO> label { get; set; }
|
|
public List<ResponseDTO> responses { get; set; }
|
|
public string imageBackgroundResourceId { get; set; } // question image background
|
|
public ResourceType? imageBackgroundResourceType { get; set; }
|
|
public string imageBackgroundResourceUrl { get; set; } // url to firebase storage or on internet
|
|
public int order { get; set; } // Order to show
|
|
}
|
|
|
|
public class ResponseDTO
|
|
{
|
|
public List<TranslationAndResourceDTO> label { get; set; }
|
|
public bool isGood { get; set; }
|
|
public int order { get; set; } // Order to show
|
|
}
|
|
|
|
public class LevelDTO
|
|
{
|
|
public List<TranslationAndResourceDTO> label { get; set; }
|
|
}
|
|
}
|