* Created AzureDataModel
* Created Hangfire API
This commit is contained in:
19
HangfireApi/Dtos/JobDto.cs
Normal file
19
HangfireApi/Dtos/JobDto.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user