namespace DramaLing.Api.Models.DTOs.SpacedRepetition;

/// <summary>
/// 題目數據響應
/// </summary>
public class QuestionData
{
    /// <summary>
    /// 題型類型
    /// </summary>
    public string QuestionType { get; set; } = string.Empty;

    /// <summary>
    /// 選擇題選項 (用於vocab-choice, sentence-listening)
    /// </summary>
    public string[]? Options { get; set; }

    /// <summary>
    /// 正確答案
    /// </summary>
    public string CorrectAnswer { get; set; } = string.Empty;

    /// <summary>
    /// 音頻URL (用於聽力題)
    /// </summary>
    public string? AudioUrl { get; set; }

    /// <summary>
    /// 完整例句 (用於sentence-listening)
    /// </summary>
    public string? Sentence { get; set; }

    /// <summary>
    /// 挖空例句 (用於sentence-fill)
    /// </summary>
    public string? BlankedSentence { get; set; }

    /// <summary>
    /// 打亂的單字 (用於sentence-reorder)
    /// </summary>
    public string[]? ScrambledWords { get; set; }
}