mirror of
https://github.com/C9Glax/tranga.git
synced 2025-07-07 03:14:17 +02:00
[postgres-Server-V2] feat: Convert chapterNumeber to string
This commit is contained in:
API
Migrations
Schema
Author.csChapter.csChapterNumber.cs
TokenGen.csJobs
DownloadMangaCoverJob.csDownloadNewChaptersJob.csDownloadSingleChapterJob.csMoveFileOrFolderJob.csUpdateMetadataJob.cs
LibraryConnectors
Link.csManga.csMangaAltTitle.csMangaConnectors
AsuraToon.csBato.csMangaDex.csMangaHere.csMangaKatana.csMangaLife.csManganato.csMangaworld.csManhuaPlus.csWeebCentral.cs
Notification.csNotificationConnectors
@ -14,7 +14,7 @@ namespace API.Schema;
|
||||
public class Manga
|
||||
{
|
||||
[MaxLength(64)]
|
||||
public string MangaId { get; init; } = TokenGen.CreateToken(typeof(Manga), 64);
|
||||
public string MangaId { get; init; }
|
||||
[MaxLength(64)]
|
||||
public string ConnectorId { get; init; }
|
||||
|
||||
@ -57,6 +57,7 @@ public class Manga
|
||||
string? coverFileNameInCache, uint year, string? originalLanguage, MangaReleaseStatus releaseStatus,
|
||||
float ignoreChapterBefore, string mangaConnectorId)
|
||||
{
|
||||
MangaId = TokenGen.CreateToken(typeof(Manga), string.Join(MangaConnectorId, ConnectorId));
|
||||
ConnectorId = connectorId;
|
||||
Name = name;
|
||||
Description = description;
|
||||
|
Reference in New Issue
Block a user