feat(api): appInWorkContoller добавлен метод Create

This commit is contained in:
Mikhail Kuznetsov
2024-03-27 11:13:52 +10:00
parent 5a14cdd3c2
commit 30c190f62f
4 changed files with 149 additions and 6 deletions

View File

@@ -0,0 +1,27 @@
namespace PARR.API.Contracts.V1.Requests
{
public class ApplicationInWorkRequest
{
public required Guid WorkId { get; set; }
public required Guid ApplicationId { get; set; }
public required string TemplateDuration { get; set; }
public required string ShortDescription { get; set; }
public required string FullDescription { get; set; }
public required string Solution { get; set; }
public DateTimeOffset NextRun { get; set; }
public bool IsAgent { get; set; }
public string? AgentName { get; set; }
public int? AgentTimeOutSec { get; set; }
public string? AgentScript { get; set; }
}
}