feat(api): TemplateHistoryController
This commit is contained in:
25
PARR.API/Contracts/V1/Responses/TemplateHistoryResponse.cs
Normal file
25
PARR.API/Contracts/V1/Responses/TemplateHistoryResponse.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
namespace PARR.API.Contracts.V1.Responses
|
||||
{
|
||||
public class TemplateHistoryResponse
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
|
||||
public Guid TemplateId { get; set; }
|
||||
|
||||
public DateTimeOffset DateAddedToHistory { get; set; }
|
||||
|
||||
public DateTimeOffset? DateModified { get; set; }
|
||||
|
||||
public required string Name { get; set; }
|
||||
|
||||
public bool IsActiveTemplate { get; set; }
|
||||
|
||||
public bool IsActiveSchedule { get; set; }
|
||||
|
||||
public DateTimeOffset? LastRun { get; set; }
|
||||
|
||||
public DateTimeOffset NextRun { get; set; }
|
||||
|
||||
public HistoryInitiatorResponse? Initiator { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user