using System.ComponentModel.DataAnnotations;

namespace DramaLing.Api.Models.DTOs.SpacedRepetition;

/// <summary>
/// 自動選擇最適合複習模式請求
/// </summary>
public class OptimalModeRequest
{
    /// <summary>
    /// 學習者程度 (1-100)
    /// </summary>
    [Required]
    [Range(1, 100)]
    public int UserLevel { get; set; }

    /// <summary>
    /// 詞彙難度 (1-100)
    /// </summary>
    [Required]
    [Range(1, 100)]
    public int WordLevel { get; set; }

    /// <summary>
    /// 是否包含歷史記錄進行智能避重
    /// </summary>
    public bool IncludeHistory { get; set; } = true;
}