Fix relation Manga->Chapter (latest)

This commit is contained in:
2024-12-16 20:03:38 +01:00
parent 7f946da1c3
commit 1044821147
3 changed files with 14 additions and 15 deletions

View File

@ -46,10 +46,13 @@ public class Manga(
public string FolderName { get; private set; } = BuildFolderName(name);
public float IgnoreChapterBefore { get; internal set; } = ignoreChapterBefore;
[ForeignKey("LatestChapterDownloadedId")]
public Chapter? LatestChapterDownloaded { get; private set; } = latestChapterDownloaded;
[ForeignKey("LatestChapterAvailableId")]
public Chapter? LatestChapterAvailable { get; private set; } = latestChapterAvailable;
[ForeignKey("MangaConnectorId")]
public MangaConnector MangaConnector { get; private set; } = mangaConnector;
[ForeignKey("AuthorIds")]