When we scan a library, store the last write time for a file so we can skip page calculation if there were no modifications.
This commit is contained in:
parent
f77b0ec552
commit
f85918b5bf
7 changed files with 803 additions and 4 deletions
|
@ -1,5 +1,7 @@
|
|||
|
||||
using System;
|
||||
using API.Entities.Enums;
|
||||
using API.Entities.Interfaces;
|
||||
|
||||
namespace API.Entities
|
||||
{
|
||||
|
@ -15,10 +17,13 @@ namespace API.Entities
|
|||
/// </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; }
|
||||
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue