using System.ComponentModel.DataAnnotations;

namespace DramaLing.Api.Models.DTOs.SpacedRepetition;

/// <summary>
/// 題目生成請求
/// </summary>
public class QuestionRequest
{
    /// <summary>
    /// 題型類型
    /// </summary>
    [Required]
    [RegularExpression("^(vocab-choice|sentence-listening|sentence-fill|sentence-reorder)$")]
    public string QuestionType { get; set; } = string.Empty;
}