Added Source Chapter and Source Page entities.
This commit is contained in:
20
MangaReader.Core/Data/SourceChapter.cs
Normal file
20
MangaReader.Core/Data/SourceChapter.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
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; } = [];
|
||||
}
|
||||
Reference in New Issue
Block a user