Kavita/API/Parser/ParserInfo.cs
2021-01-25 14:45:23 -06:00

29 lines
934 B
C#

using API.Entities;
namespace API.Parser
{
/// <summary>
/// This represents a single file
/// </summary>
public class ParserInfo
{
// This can be multiple
public string Chapters { get; set; } = "";
public string Series { get; set; } = "";
// This can be multiple
public string Volumes { get; set; } = "";
public string Filename { get; init; } = "";
public string FullFilePath { get; set; } = "";
/// <summary>
/// <see cref="MangaFormat"/> that represents the type of the file (so caching service knows how to cache for reading)
/// </summary>
public MangaFormat Format { get; set; } = MangaFormat.Unknown;
/// <summary>
/// This can potentially story things like "Omnibus, Color, Full Contact Edition, Extra, Final, etc"
/// </summary>
public string Edition { get; set; } = "";
}
}