Added contributor classes for manga. Implemented MangaDex search.
This commit is contained in:
@@ -7,18 +7,10 @@ public class Manga
|
||||
public required string Title { get; set; }
|
||||
public string? Description { get; set; }
|
||||
|
||||
public virtual ICollection<MangaCover> Covers { get; set; }
|
||||
public virtual ICollection<MangaTitle> Titles { get; set; }
|
||||
public virtual ICollection<MangaSource> Sources { get; set; }
|
||||
public virtual ICollection<MangaGenre> Genres { get; set; }
|
||||
public virtual ICollection<MangaChapter> Chapters { get; set; }
|
||||
|
||||
public Manga()
|
||||
{
|
||||
Covers = new HashSet<MangaCover>();
|
||||
Titles = new HashSet<MangaTitle>();
|
||||
Sources = new HashSet<MangaSource>();
|
||||
Genres = new HashSet<MangaGenre>();
|
||||
Chapters = new HashSet<MangaChapter>();
|
||||
}
|
||||
public virtual ICollection<MangaCover> Covers { get; set; } = [];
|
||||
public virtual ICollection<MangaTitle> Titles { get; set; } = [];
|
||||
public virtual ICollection<MangaSource> Sources { get; set; } = [];
|
||||
public virtual ICollection<MangaContributor> Contributors { get; set; } = [];
|
||||
public virtual ICollection<MangaGenre> Genres { get; set; } = [];
|
||||
public virtual ICollection<MangaChapter> Chapters { get; set; } = [];
|
||||
}
|
||||
Reference in New Issue
Block a user