namespace MangaReader.Core.Data;

public class MangaChapter
{
    public int MangaChapterId { get; set; }

    public int MangaId { get; set; }
    public required Manga Manga { get; set; }

    public int? VolumeNumber { get; set; }
    public required float ChapterNumber { get; set; }
    public string? Title { get; set; }

    public virtual ICollection<ChapterSource> Sources { get; set; } = [];
    public virtual ICollection<ChapterPage> Pages { get; set; } = [];
}