using System.Text.Json.Serialization;

namespace Mindforge.API.Models.Requests
{
    public class FlashcardGenerateRequest
    {
        public string FileContent { get; set; } = string.Empty;
        public string FileName { get; set; } = string.Empty;
        public int Amount { get; set; }
        [JsonConverter(typeof(JsonStringEnumConverter))]
        public FlashcardMode? Mode { get; set; } = FlashcardMode.Simple;
    }

    public enum FlashcardMode
    {
        Basic,
        Simple,
        Detailed,
        Hyper
    }
}
