2025-03-20 16:25:23 +01:00

38 lines
1.3 KiB
C#

using ManagerService.DTOs;
using System.Collections.Generic;
using System.Security.AccessControl;
namespace Manager.DTOs
{
public class QuizDTO : SectionDTO
{
public List<QuestionDTO> questions { get; set; }
public List<TranslationAndResourceDTO> bad_level { get; set; }
public List<TranslationAndResourceDTO> medium_level { get; set; }
public List<TranslationAndResourceDTO> good_level { get; set; }
public List<TranslationAndResourceDTO> 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; }
}
}