feat(esppOrderManager): доработка логики. EsppApi - запросы переделаны под модели.
This commit is contained in:
17
PARR.EsppApi/Requests/AddMTNKRequest.cs
Normal file
17
PARR.EsppApi/Requests/AddMTNKRequest.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
namespace PARR.EsppApi.Requests
|
||||
{
|
||||
/// <summary>
|
||||
/// Списать трудозатраты
|
||||
/// </summary>
|
||||
internal class AddMTNKRequest
|
||||
{
|
||||
public required string recordid { get; set; }
|
||||
|
||||
public required string joboperation { get; set; }
|
||||
|
||||
public required string time { get; set; }
|
||||
|
||||
public required string workscope { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
10
PARR.EsppApi/Requests/GetTaskListRequest.cs
Normal file
10
PARR.EsppApi/Requests/GetTaskListRequest.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace PARR.EsppApi.Requests
|
||||
{
|
||||
/// <summary>
|
||||
/// Получить список нарядов
|
||||
/// </summary>
|
||||
internal class GetTaskListRequest
|
||||
{
|
||||
public required string VIEW_QUERY { get; set; }
|
||||
}
|
||||
}
|
||||
10
PARR.EsppApi/Requests/GetTaskRequest.cs
Normal file
10
PARR.EsppApi/Requests/GetTaskRequest.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace PARR.EsppApi.Requests
|
||||
{
|
||||
/// <summary>
|
||||
/// Получить наряд по номеру
|
||||
/// </summary>
|
||||
internal class GetTaskRequest
|
||||
{
|
||||
public required string recordid { get; set; }
|
||||
}
|
||||
}
|
||||
16
PARR.EsppApi/Requests/SetStatusRequest.cs
Normal file
16
PARR.EsppApi/Requests/SetStatusRequest.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
namespace PARR.EsppApi.Requests
|
||||
{
|
||||
/// <summary>
|
||||
/// Изменить статус наряда
|
||||
/// </summary>
|
||||
internal class SetStatusRequest
|
||||
{
|
||||
public required string recordid { get; set; }
|
||||
|
||||
public required string status { get; set; }
|
||||
|
||||
public required string assignee { get; set; }
|
||||
|
||||
public required string resolution { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user