28 lines
726 B
C#
28 lines
726 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace DramaLing.Api.Models.DTOs.SpacedRepetition;
|
|
|
|
/// <summary>
|
|
/// 自動選擇最適合複習模式請求 (基於CEFR等級)
|
|
/// </summary>
|
|
public class OptimalModeRequest
|
|
{
|
|
/// <summary>
|
|
/// 學習者CEFR等級 (A1, A2, B1, B2, C1, C2)
|
|
/// </summary>
|
|
[Required]
|
|
[MaxLength(10)]
|
|
public string UserCEFRLevel { get; set; } = "B1";
|
|
|
|
/// <summary>
|
|
/// 詞彙CEFR等級 (A1, A2, B1, B2, C1, C2)
|
|
/// </summary>
|
|
[Required]
|
|
[MaxLength(10)]
|
|
public string WordCEFRLevel { get; set; } = "B1";
|
|
|
|
/// <summary>
|
|
/// 是否包含歷史記錄進行智能避重
|
|
/// </summary>
|
|
public bool IncludeHistory { get; set; } = true;
|
|
} |