Refactored ScanLibrary to produce page numbers on the Manga File, Format and to update existing series/volumes rather than always create new entries.
This commit is contained in:
parent
6b4617bab3
commit
59a4921ba9
12 changed files with 709 additions and 38 deletions
|
|
@ -5,7 +5,15 @@ namespace API.Entities
|
|||
{
|
||||
public int Id { get; set; }
|
||||
public string FilePath { get; set; }
|
||||
// Should I just store information related to FilePath here? Reset it on anytime FilePath changes?
|
||||
/// <summary>
|
||||
/// Do not expect this to be set. If this MangaFile represents a volume file, this will be null.
|
||||
/// </summary>
|
||||
public int Chapter { get; set; }
|
||||
/// <summary>
|
||||
/// Number of pages for the given file
|
||||
/// </summary>
|
||||
public int NumberOfPages { get; set; }
|
||||
public MangaFormat Format { get; set; }
|
||||
|
||||
// Relationship Mapping
|
||||
public Volume Volume { get; set; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue