Kavita/API/Entities/MangaFile.cs

29 lines
760 B
C#

using System;
using API.Entities.Enums;
using API.Entities.Interfaces;
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; }
/// <summary>
/// Last time underlying file was modified
/// </summary>
public DateTime LastModified { get; set; }
// Relationship Mapping
public Chapter Chapter { get; set; }
public int ChapterId { get; set; }
}
}