Files
FA_WEB/HangfireApi/Dtos/JobDto.cs
Piotr Kus e7342abadd * Created AzureDataModel
* Created Hangfire API
2025-02-12 20:29:10 +01:00

19 lines
530 B
C#

using Hangfire.Common;
namespace HangfireApi.Dtos;
public class JobDto(
string jobId,
string cron,
string path,
DateTime? lastExecution,
DateTime? nextExecution,
Job jobDetails)
{
public string JobId { get; set; } = jobId;
public string Cron { get; set; } = cron;
public string Path { get; set; } = path;
public DateTime? LastExecution { get; set; } = lastExecution;
public DateTime? NextExecution { get; set; } = nextExecution;
public Job JobDetails { get; set; } = jobDetails;
}