Kavita/API/Entities/MangaFile.cs
2021-03-23 12:22:47 -05:00

24 lines
577 B
C#

using API.Entities.Enums;
namespace API.Entities
{
public class MangaFile
{
public int Id { get; set; }
/// <summary>
/// Absolute path to the archive file
/// </summary>
public string FilePath { get; set; }
/// <summary>
/// Number of pages for the given file
/// </summary>
public int Pages { get; set; }
public MangaFormat Format { get; set; }
// Relationship Mapping
public Chapter Chapter { get; set; }
public int ChapterId { get; set; }
}
}