mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-06-03 13:44:31 -04:00
29 lines
760 B
C#
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; }
|
|
}
|
|
} |