feat(api): RobotTaskScheduleResponse
This commit is contained in:
@@ -1,13 +1,26 @@
|
||||
namespace PARR.API.Contracts.V1.Responses
|
||||
{
|
||||
public class RobotTaskScheduleResponse
|
||||
public class RobotTaskScheduleResponse : RobotTaskBaseResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// RobotConfigurationId
|
||||
/// ИД расписания из ЕСПП. При создании, его не будет
|
||||
/// </summary>
|
||||
public Guid TaskId { get; set; }
|
||||
public string? EsppId { get; set; }
|
||||
|
||||
public required string ScheduleName { get; set; }
|
||||
|
||||
//TODO:
|
||||
public bool IsActive { get; set; }
|
||||
|
||||
public required string ResponseArea { get; set; }
|
||||
|
||||
public required string TemplateName { get; set; }
|
||||
|
||||
public Guid TemplateId { get; set; }
|
||||
|
||||
public required string WorkGroup { get; set; }
|
||||
|
||||
public string? Description { get; set; }
|
||||
|
||||
// TODO:
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,12 +1,7 @@
|
||||
namespace PARR.API.Contracts.V1.Responses
|
||||
{
|
||||
public class RobotTaskTemplateResponse
|
||||
public class RobotTaskTemplateResponse : RobotTaskBaseResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// RobotConfigurationId
|
||||
/// </summary>
|
||||
public Guid TaskId { get; set; }
|
||||
|
||||
public bool IsActive { get; set; }
|
||||
public required string ClosingCode { get; set; }
|
||||
public required string FullDescription { get; set; }
|
||||
@@ -35,4 +30,12 @@
|
||||
|
||||
|
||||
}
|
||||
|
||||
public class RobotTaskBaseResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// RobotConfigurationId
|
||||
/// </summary>
|
||||
public Guid TaskId { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user