namespace MangaReader.Core.Data;

public class SourceChapter
{
    public int SourceChapterId { get; set; }

    public int MangaSourceId { get; set; }
    public required MangaSource MangaSource { get; set; }

    public int? ScanlationGroupId { get; set; }
    public ScanlationGroup? ScanlationGroup { get; set; }

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

    public required string Url { get; set; }

    public ICollection<SourcePage> Pages { get; set; } = [];
}