namespace MangaReader.Core.Data;

public class Manga
{
    public int MangaId { get; set; }
    public required string Slug { get; set; }
    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<MangaContributor> Contributors { get; set; } = [];
    public virtual ICollection<MangaGenre> Genres { get; set; } = [];
    public virtual ICollection<MangaChapter> Chapters { get; set; } = [];
}