mirror of
https://github.com/C9Glax/tranga.git
synced 2025-02-23 15:50:13 +01:00
16 lines
597 B
C#
16 lines
597 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace API.Schema.Jobs;
|
|
|
|
public class UpdateMetadataJob(ulong recurrenceMs, string mangaId, string? parentJobId = null, string[]? dependsOnJobIds = null)
|
|
: Job(TokenGen.CreateToken(typeof(UpdateMetadataJob), 64), JobType.UpdateMetaDataJob, recurrenceMs, parentJobId, dependsOnJobIds)
|
|
{
|
|
[MaxLength(64)]
|
|
public string MangaId { get; init; } = mangaId;
|
|
public virtual Manga Manga { get; init; }
|
|
|
|
protected override IEnumerable<Job> RunInternal(PgsqlContext context)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
} |