Fixed a bug in ScanLibrary that caused duplicated Volumes. Implemented APIs for navigating down to Volume for webui.
This is rough code and needs to be polished and refactored.
This commit is contained in:
parent
380c3e7b3c
commit
c429c50ba2
18 changed files with 709 additions and 58 deletions
|
|
@ -4,8 +4,7 @@
|
|||
{
|
||||
public int Id { get; set; }
|
||||
public string FilePath { get; set; }
|
||||
//public string FileExtension { get; set; }
|
||||
|
||||
|
||||
// Relationship Mapping
|
||||
public Volume Volume { get; set; }
|
||||
public int VolumeId { get; set; }
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ namespace API.Entities
|
|||
/// Summary information related to the Series
|
||||
/// </summary>
|
||||
public string Summary { get; set; }
|
||||
public string CoverImage { get; set; }
|
||||
public ICollection<Volume> Volumes { get; set; }
|
||||
|
||||
public Library Library { get; set; }
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ namespace API.Entities
|
|||
public int Id { get; set; }
|
||||
public string Number { get; set; }
|
||||
public ICollection<MangaFile> Files { get; set; }
|
||||
|
||||
|
||||
// Many-to-Many relationships
|
||||
public Series Series { get; set; }
|
||||
public int SeriesId { get; set; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue