namespace ExcelTableImporter.Models.ExcelModels;

public class AnimeTitle
{
    public string NameRussian { get; set; } = null!;
    public string NameOriginal { get; set; } = null!;
    public int ReleaseYear { get; set; }
    public List<AnimePart> Parts { get; set; } = [];
    public bool IsCompleted { get; set; }
    public int RatingValue { get; set; }
    public string? Comment { get; set; }
}

public class AnimePart
{
    public AnimePartType Type { get; set; }
    public int? SeasonNumber { get; set; }
    public int ReleaseYear { get; set; }
    public List<AnimeEpisodeGroup> EpisodeGroups { get; set; } = [];
}

public enum AnimePartType
{
    Season,
    RegularEpisode,
    Movie,
    Ova,
    Special,
    Unknown
}

public class AnimeEpisodeGroup
{
    public int Order { get; set; } 
    public int Count { get; set; }
    public int Viewed { get; set; }
}