[postgres-Server-V2] feat: Convert chapterNumeber to string

This commit is contained in:
Alessandro Benetton
2025-01-25 11:57:54 +01:00
parent be6b3da1be
commit ebe7e145aa
31 changed files with 881 additions and 430 deletions

View File

@ -8,7 +8,7 @@ namespace API.Schema;
public class MangaAltTitle(string language, string title)
{
[MaxLength(64)]
public string AltTitleId { get; init; } = TokenGen.CreateToken("AltTitle", 64);
public string AltTitleId { get; init; } = TokenGen.CreateToken("AltTitle", string.Join(language, title));
[MaxLength(8)]
public string Language { get; init; } = language;
public string Title { get; set; } = title;