2024-12-14 21:53:29 +01:00
|
|
|
|
namespace API.Schema.Jobs;
|
|
|
|
|
|
2025-01-09 01:34:03 +01:00
|
|
|
|
public class MoveFileOrFolderJob(string fromLocation, string toLocation, string? parentJobId = null, ICollection<string>? dependsOnJobsIds = null)
|
2025-01-25 11:57:54 +01:00
|
|
|
|
: Job(TokenGen.CreateToken(typeof(MoveFileOrFolderJob), ""), JobType.MoveFileOrFolderJob, 0, parentJobId, dependsOnJobsIds)
|
2024-12-14 21:53:29 +01:00
|
|
|
|
{
|
|
|
|
|
public string FromLocation { get; init; } = fromLocation;
|
|
|
|
|
public string ToLocation { get; init; } = toLocation;
|
|
|
|
|
|
2024-12-16 23:29:57 +01:00
|
|
|
|
protected override IEnumerable<Job> RunInternal(PgsqlContext context)
|
2024-12-14 21:53:29 +01:00
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
}
|